Hi, Kevin, I installed tinyos-2.0 from the Stanford repository by apt-get install tinyos-msp430 and install tinyos-avr. Then for a simple application blink, "make micaz" and and "make telosb" work find. There is a lot of error message when compiling make micaz tossim. I pasted the message here. Thanks. in advance.
/usr/lib/ncc/nesc_nx.h:16:22: error: inttypes.h: No such file or directory <commandline>: failed to preprocess /usr/lib/ncc/nesc_nx.h /opt/tinyos-2.x//tos/lib/tossim/tos.h:41:22: error: inttypes.h: No such file or directory /opt/tinyos-2.x//tos/lib/tossim/tos.h:49:20: error: string.h: No such file or directory /opt/tinyos-2.x//tos/lib/tossim/tos.h:50:20: error: stdlib.h: No such file or directory /opt/tinyos-2.x//tos/lib/tossim/tos.h:51:18: error: math.h: No such file or directory /opt/tinyos-2.x//tos/lib/tossim/tos.h:53:19: error: ctype.h: No such file or directory /opt/tinyos-2.x//tos/lib/tossim/tos.h:54:19: error: stdio.h: No such file or directory In file included from /opt/tinyos-2.x//tos/lib/tossim/tos.h:88: /opt/tinyos-2.x//tos/lib/tossim/sim_tossim.c:39:22: error: sys/time.h: No such file or directory In file included from /opt/tinyos-2.x//tos/lib/tossim/sim_mac.c:38, from /opt/tinyos-2.x//tos/lib/tossim/tos.h:89: /opt/tinyos-2.x//tos/lib/tossim/sim_noise.c:37:18: error: time.h: No such file or directory <commandline>: failed to preprocess /opt/tinyos-2.x//tos/lib/tossim/tos.h In file included from /opt/tinyos-2.x//tos/lib/tossim/TinySchedulerC.nc:35: In interface `Scheduler': /opt/tinyos-2.x//tos/interfaces/Scheduler.nc:54: only commands and events can be defined in inte\ rfaces /opt/tinyos-2.x//tos/interfaces/Scheduler.nc:54: warning: return-type defaults to `int' /opt/tinyos-2.x//tos/interfaces/Scheduler.nc:54: syntax error before `runNextTask' In file included from /opt/tinyos-2.x//tos/interfaces/TaskBasic.nc:42, from /opt/tinyos-2.x//tos/lib/tossim/TinySchedulerC.nc:36: In C file: _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help