On Jun 22, 2006, at 1:07 AM, Liu Haibin wrote:
I found the answer at the tutorial lesson 1 under tinyos-2_0_devel-
BRANCH.
Now I can compile telos but still cannot compile micaz. When I
typed "make micaz", it gave a bunch of errors.
/usr/lib/ncc/nesc_nx.h:4:22: inttypes.h: No such file or directory
<commandline>: failed to preprocess /usr/lib/ncc/nesc_nx.h
/home/liuhb/tinyos-2.x/tos/system/tos.h:5:22: inttypes.h: No such
file or directory
/home/liuhb/tinyos-2.x/tos/system/tos.h:13:20: string.h: No such
file or directory
/home/liuhb/tinyos-2.x/tos/system/tos.h:14:20: stdlib.h: No such
file or directory
/home/liuhb/tinyos-2.x/tos/system/tos.h:15:18: math.h: No such file
or directory
/home/liuhb/tinyos- 2.x/tos/system/tos.h:17:19: ctype.h: No such
file or directory
<commandline>: failed to preprocess /home/liuhb/tinyos-2.x/tos/
system/tos.h
In file included from /home/liuhb/tinyos-2.x/tos/system/
TinySchedulerC.nc:36:
In interface `Scheduler':
/home/liuhb/tinyos-2.x/tos/interfaces/Scheduler.nc:54: only
commands and events can be defined in interfaces
/home/liuhb/tinyos-2.x/tos/interfaces/Scheduler.nc:54: warning:
return-type defaults to `int'
/home/liuhb/tinyos-2.x/tos/interfaces/Scheduler.nc:54: syntax error
before `runNextTask'
In component `TinySchedulerC':
......
The first line says no inttypes.h is found. But I did install avr-
libc and I can find it at /usr/avr/include/inttypes.h
The first line says inttypes.h isn't found. It sounds like your avr-
gcc is looking at the wrong avr-libc.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help