[Greg:tinyos-1.x/apps/blink] greg% make mica2 compiling Blink to a mica2 binary ncc -o build/mica2/main.exe -Os -board=micasb -target=mica2 -v -D__AVR_ATmega128__ -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000 -fnesc-cfile=build/mica2/app.c Blink.nc -lm /usr/local/bin/nescc -DPLATFORM_MICA2 -DBOARD_MICASB -fnesc-include=tos -topdir=/Users/greg/Documents/Sources/tinyos-1.x -o build/mica2/main.exe -Os -v -D__AVR_ATmega128__ -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -finline-limit=100000 -fnesc-cfile=build/mica2/app.c Blink.nc -lm -gcc=avr-gcc -mmcu=atmega128 -fnesc-target=avr -fnesc-no-debug -I/Users/greg/Documents/Sources/tinyos-1.x/tos/lib/Flash -I/Users/greg/Documents/Sources/tinyos-1.x/tos/lib/Flash/AT45DB -I/Users/greg/Documents/Sources/tinyos-1.x/tos/sensorboards/micasb -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica2 -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica128 -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/avrmote -I/Users/greg/Documents/Sources/tinyos-1.x/tos/interfaces -I/Users/greg/Documents/Sources/tinyos-1.x/tos/types -I/Users/greg/Documents/Sources/tinyos-1.x/tos/system avr-gcc -_fnesc-gcc=avr-gcc -specs=/usr/local/lib/ncc/tdspecs -_fnesc-include=nesc_nx -I/usr/local/lib/ncc -DPLATFORM_MICA2 -DBOARD_MICASB -_fnesc-include=tos -o build/mica2/main.exe -Os -v -D__AVR_ATmega128__ -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -_Wnesc-all -finline-limit=100000 -_fnesc-cfile=build/mica2/app.c Blink.nc -lm -mmcu=atmega128 -_fnesc-target=avr -_fnesc-no-debug -I/Users/greg/Documents/Sources/tinyos-1.x/tos/lib/Flash -I/Users/greg/Documents/Sources/tinyos-1.x/tos/lib/Flash/AT45DB -I/Users/greg/Documents/Sources/tinyos-1.x/tos/sensorboards/micasb -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica2 -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica128 -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/avrmote -I/Users/greg/Documents/Sources/tinyos-1.x/tos/interfaces -I/Users/greg/Documents/Sources/tinyos-1.x/tos/types -I/Users/greg/Documents/Sources/tinyos-1.x/tos/system -DNESC=124 Reading specs from /usr/local/lib/gcc-lib/avr/3.0.3/specs Reading specs from /usr/local/lib/ncc/tdspecs Configured with: ./configure --target=avr --enable-languages=c Thread model: single gcc version 3.0.3 perl -S nesc-compile -_fnesc-gcc=avr-gcc -_fnesc-include=nesc_nx -_fnesc-include=tos -_Wnesc-all -_fnesc-cfile=build/mica2/app.c -_fnesc-target=avr -_fnesc-no-debug -mmcu=atmega128 -DPLATFORM_MICA2 -DBOARD_MICASB -D__AVR_ATmega128__ -DDEF_TOS_AM_GROUP=0x7d -DNESC=124 -I/usr/local/lib/ncc -I/Users/greg/Documents/Sources/tinyos-1.x/tos/lib/Flash -I/Users/greg/Documents/Sources/tinyos-1.x/tos/lib/Flash/AT45DB -I/Users/greg/Documents/Sources/tinyos-1.x/tos/sensorboards/micasb -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica2 -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica128 -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/avrmote -I/Users/greg/Documents/Sources/tinyos-1.x/tos/interfaces -I/Users/greg/Documents/Sources/tinyos-1.x/tos/types -I/Users/greg/Documents/Sources/tinyos-1.x/tos/system -Os -Wall -Wshadow -v -finline-limit=100000 -o /var/tmp/ccJMqCOp.o Blink.nc -_ASM nesc1 -_fnesc-gcc=avr-gcc -_fnesc-include=nesc_nx -_fnesc-include=tos -_Wnesc-all -_fnesc-target=avr -_fnesc-no-debug -mmcu=atmega128 -DPLATFORM_MICA2 -DBOARD_MICASB -D__AVR_ATmega128__ -DDEF_TOS_AM_GROUP=0x7d -DNESC=124 -I/usr/local/lib/ncc -I/Users/greg/Documents/Sources/tinyos-1.x/tos/lib/Flash -I/Users/greg/Documents/Sources/tinyos-1.x/tos/lib/Flash/AT45DB -I/Users/greg/Documents/Sources/tinyos-1.x/tos/sensorboards/micasb -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica2 -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica128 -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica -I/Users/greg/Documents/Sources/tinyos-1.x/tos/platform/avrmote -I/Users/greg/Documents/Sources/tinyos-1.x/tos/interfaces -I/Users/greg/Documents/Sources/tinyos-1.x/tos/types -I/Users/greg/Documents/Sources/tinyos-1.x/tos/system -Wall -Wshadow -v -finline-limit=100000 Blink.nc -o build/mica2/app.c preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/system/tos.h In file included from /usr/local/avr/include/avr/wdt.h:42, from /Users/greg/Documents/Sources/tinyos-1.x/tos/platform/avrmote/avrhardware.h:57, from /Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica2/hardware.h:82, from /Users/greg/Documents/Sources/tinyos-1.x/tos/system/tos.h:144: /usr/local/avr/include/stdint.h:65: redefinition of `int8_t' /usr/local/avr/include/inttypes.h:24: previous declaration of `int8_t' /usr/local/avr/include/stdint.h:70: redefinition of `uint8_t' /usr/local/avr/include/inttypes.h:25: previous declaration of `uint8_t' /usr/local/avr/include/stdint.h:104: warning: redefinition of `int16_t' /usr/local/avr/include/inttypes.h:27: warning: previous declaration of `int16_t' /usr/local/avr/include/stdint.h:109: warning: redefinition of `uint16_t' /usr/local/avr/include/inttypes.h:28: warning: previous declaration of `uint16_t' /usr/local/avr/include/stdint.h:120: warning: redefinition of `int32_t' /usr/local/avr/include/inttypes.h:30: warning: previous declaration of `int32_t' /usr/local/avr/include/stdint.h:125: warning: redefinition of `uint32_t' /usr/local/avr/include/inttypes.h:31: warning: previous declaration of `uint32_t' /usr/local/avr/include/stdint.h:136: warning: redefinition of `int64_t' /usr/local/avr/include/inttypes.h:33: warning: previous declaration of `int64_t' /usr/local/avr/include/stdint.h:141: warning: redefinition of `uint64_t' /usr/local/avr/include/inttypes.h:34: warning: previous declaration of `uint64_t' /usr/local/avr/include/stdint.h:155: warning: redefinition of `intptr_t' /usr/local/avr/include/inttypes.h:36: warning: previous declaration of `intptr_t' /usr/local/avr/include/stdint.h:160: warning: redefinition of `uintptr_t' /usr/local/avr/include/inttypes.h:37: warning: previous declaration of `uintptr_t' preprocessing /usr/local/lib/ncc/nesc_nx.h preprocessing Blink.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/system/Main.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/interfaces/StdControl.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/system/RealMain.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/interfaces/Pot.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/system/PotC.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/system/PotM.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/interfaces/HPLPot.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica2/HPLPotC.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/platform/avrmote/HPLInit.nc preprocessing BlinkM.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/interfaces/Timer.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/interfaces/Timer.h preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/interfaces/Leds.nc preprocessing SingleTimer.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/system/TimerC.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/system/TimerM.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/interfaces/Clock.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica128/Clock.h preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/interfaces/PowerManagement.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/system/ClockC.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica/HPLClock.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/system/NoLeds.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/platform/mica2/HPLPowerManagementM.nc preprocessing /Users/greg/Documents/Sources/tinyos-1.x/tos/system/LedsC.nc make: *** [build/mica2/main.exe] Error 1