[Tinyos-help] Can't find std headers
Sean Walton
swalton at cs.utah.edu
Mon Oct 2 13:14:08 PDT 2006
Has anyone seen and solved this problem? We noticed that someone
reported this error three years ago, but there was no shared reply. The
essense is the CPP cannot see standard /usr/include files. I am using
avr-gcc 3.4.6, and the compilation is apparently trying to use gcc-cpp
4.0.2 --- Is that the problem??
My environment is:
TOSDIR=/opt/tinyos-1.x/tos
TOSROOT=/opt/tinyos-1.x
MAKERULES=/opt/tinyos-1.x/tools/make/Makerules
OUTPUT:::
swalton at swalton:/opt/tinyos-1.x/apps/Blink> make mica2
compiling Blink to a mica2 binary
ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2 -Wall
-Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000
-fnesc-cfile=build/mica2/app.c Blink.nc -lm
/usr/lib/ncc/nesc_nx.h:16:22: inttypes.h: No such file or directory
<commandline>: failed to preprocess /usr/lib/ncc/nesc_nx.h
/opt/tinyos-1.x/tos/system/tos.h:50:22: inttypes.h: No such file or
directory
/opt/tinyos-1.x/tos/system/tos.h:77:20: string.h: No such file or directory
/opt/tinyos-1.x/tos/system/tos.h:78:20: stdlib.h: No such file or directory
/opt/tinyos-1.x/tos/system/tos.h:79:18: math.h: No such file or directory
/opt/tinyos-1.x/tos/system/tos.h:81:19: ctype.h: No such file or directory
-Sean Walton
More information about the Tinyos-help
mailing list