confdefs.h: No such file or directory

Amalaye Oyake amalaye.oyake at
Mon Jan 29 20:07:34 UTC 2007


I am using RTEMS Version My target is i386 (pc686) ... and I am
trying to compile the network-demos from , since I did not see
network-demos tagged with ... My compilation died, complaining it
could not find confdefs.h ... 

RTEMS_MAKEFILE_PATH is defined as:



coder at hostbox:~/RTEMS/network-demos-$ ls
ChangeLog  init.c  Makefile  o-optimize  README  test.c

coder at hostbox:~/RTEMS/network-demos-$ 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

make: *** [o-optimize/init.o] Error 1

coder at hostbox:~/RTEMS/network-demos-$


I searched for the file:

coder at hostbox:~/RTEMS$ find ./ -iname 'confdefs*' 

* 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 @@@

More information about the users mailing list