André Lopes <[email protected]> wrote: > I'm using MacOSX 10.4 in a PowerPC, and I've successfully installed > tinyos-2.1. > Initially I could build apps for micaz without any error, but then I've > bought > an usb to serial adapter and installed it, coincidence or not, after that, > every time > that I've tried to build an app for micaz platform I've always got the same > error: > nesc1: internal error: couldn't define builtin macros - exiting
The most likely reason for this is that ncc can't find avr-gcc. Check that it's installed correctly. If it is, run the ncc command used to build your app, with an added -fnesc-verbose option (you can often just do: "CFLAGS=-fnesc-verbose make micaz"). The first line should be avr-gcc -v -x c /dev/null -E -dM -mmcu=atmega128 Try running that command standalone. David Gay _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
