I've had similar problems, and asked on the forums, but did not receive any conclusive reply.
Razvan, I did use your macports. They give the same error. Abhay On Fri, Nov 13, 2009 at 9:44 AM, Razvan Musaloiu-E. <[email protected]> wrote: > Hi! > > On Fri, 13 Nov 2009, Maciej Franecki wrote: > >> Hello, >> I followed the installing tinyos-2.x on Mac os x tutorial available at >> docs.tinyos.net. > > Quick q: are you using the macports from here? > http://hinrg.cs.jhu.edu/git/?p=ports.git > > -- > Razvan ME > >> 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 >> > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
