confdefs.h: No such file or directory

Joel Sherrill joel.sherrill at oarcorp.com
Mon Jan 29 21:38:51 UTC 2007


Amalaye Oyake wrote:
> Hello,
>
> I am using RTEMS Version 4.6.99.3. My target is i386 (pc686) ... and I am
> trying to compile the network-demos from 4.6.99.2 , since I did not see
> network-demos tagged with 4.6.99.3 ... My compilation died, complaining it
> could not find confdefs.h ... 
>
> RTEMS_MAKEFILE_PATH is defined as:
>
> RTEMS_MAKEFILE_PATH="/home/coder/RTEMS/tools/i386-rtems/pc686"
>
>   
I think it is now installed as <rtems/confdefs.h>. Do a find on the 
install point
and doublecheck that though.

--joel

> -----
>
> coder at hostbox:~/RTEMS/network-demos-4.6.99.2/netdemo$ ls
> ChangeLog  init.c  Makefile  o-optimize  README  test.c
>
> coder at hostbox:~/RTEMS/network-demos-4.6.99.2/netdemo$ make
> i386-rtems-gcc --pipe -B/home/coder/RTEMS/tools/i386-rtems/pc686/lib/ -specs
> bsp_specs -qrtems   -g -Wall  -O4 -g  -mtune=pentiumpro -c -o
> o-optimize/init.o init.c
>
> init.c:42:22: error: confdefs.h: No such file or directory
> init.c: In function 'Init':
> init.c:59: warning: implicit declaration of function 'exit'
> init.c:59: warning: incompatible implicit declaration of built-in function
> 'exit'
>
> make: *** [o-optimize/init.o] Error 1
>
> coder at hostbox:~/RTEMS/network-demos-4.6.99.2/netdemo$
>
> -----
>
> I searched for the file:
>
> coder at hostbox:~/RTEMS$ find ./ -iname 'confdefs*' 
> ./rtems-4.6.99.3/cpukit/backward/confdefs.h
> ./rtems-4.6.99.3/cpukit/sapi/include/confdefs.h
> ./tools/i386-rtems/pc686/lib/include/rtems/confdefs.h
> ./build-rtems/i386-rtems/pc686/lib/include/rtems/confdefs.h
>
> Regards,
> * Amalaye Oyake                                    *
> * Flight Software Applications & Data Product Mgmt */\
> * 818.393.7168 work   818.653.4748 cell            *||
> * Jet Propulsion Laboratory, Pasadena  CA 91109   */||\
>
> @@@ personal opinions expressed represent only the views of the author @@@
>
>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>   




More information about the users mailing list