I used Synaptic and installed avr-gcc to the latest version 4.5.3. Above errors disappeared, but compiling for micaz sill came out error: "fatal error: inttypes.h: No such file or directory. Compilation termination."
I checked and found inttypes.h located in /usr/include/. So, how can I tell avr-gcc looks for headers in that location? Thanks, lordelf 2012/6/27 Tri Nguyen Phi Minh <lordelf...@gmail.com> > Hi all, > > I am using TinyOS 1.x with TOSSIM. > > I compiled Blink app. successfully by typing "make telosb sim" (it prints > no error, with end message: "writing TOS image" plus main.exe on telosb > folder). > However, when I try "make mica sim", it came out a lot of repeated errors > as: > > " > ... > /tmp/ccLA3p0G.s:829: Error: `,' required > /tmp/ccLA3p0G.s:829: Error: constant value required > /tmp/ccLA3p0G.s:829: Error: garbage at end of line > ... > " > > Does anyone tell me why my Blink cannot be compiled to Mica platform? > What should I check to solve it? > > Thank you very much, > lordelf >
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help