confdefs.h: No such file or directory

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


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"

-----

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






More information about the users mailing list