Hello, I followed the installing tinyos-2.x on Mac os x tutorial available at docs.tinyos.net. I did some tests and it possible to compile stuff and to program the physical sensors...
The problem comes with TOSSIM... even with the typical Blink app: $ make micaz sim /...warnings../ In file included from tinyos-2.x/tos/lib/tossim/tos.h:50: /usr/include/stdlib.h: At top level: /usr/include/stdlib.h:272: syntax error before `^' /usr/include/stdlib.h:272: `type name' declared as function returning a function /usr/include/stdlib.h:274: syntax error before `^' /usr/include/stdlib.h:274: `type name' declared as function returning a function /usr/include/stdlib.h:301: syntax error before `^' /usr/include/stdlib.h:301: `type name' declared as function returning a function /usr/include/stdlib.h:307: syntax error before `^' /usr/include/stdlib.h:307: `type name' declared as function returning a function /usr/include/stdlib.h:313: syntax error before `^' /usr/include/stdlib.h:313: `type name' declared as function returning a function /usr/include/stdlib.h:319: syntax error before `^' /usr/include/stdlib.h:319: `type name' declared as function returning a function /...warnings../ make: *** [sim-exe] Error 1 $ I did test on different apps, always those problems with stdlib.h.. Mac's gcc version is 4.2.1, on my linux boxes (with gcc 4.3.3) everything is correct with tossim. Thanks in advance, Maciej. _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
