Thanks Phil.  I added the line, and this is the response:

Reading specs from /usr/local/msp430/bin/../lib/gcc-lib/msp430/3.2.3/ specs
Reading specs from /usr/local/lib/ncc/tdspecs
Configured with: /Users/dan/tinyos-1.x/tools/src/mspgcc/build/ gcc-3.2.3/configure --target=msp430 --prefix=/usr/local/msp430/
Thread model: single
gcc version 3.2.3
perl -S nesc-compile -_fnesc-gcc=msp430-gcc -_fnesc-include=nesc_nx - _fnesc-include=tos -_Wnesc-all -_fnesc-cfile=build/telosb/app.c - _fnesc-target=msp430 -_fnesc-no-debug -mdisable-hwmul - mmcu=msp430x1611 -DPLATFORM_TELOSB -DBOARD_ -DDEF_TOS_AM_GROUP=0x7d - DIDENT_PROGRAM_NAME="Blink" -DIDENT_USER_ID="dan" - DIDENT_HOSTNAME="DanielSteingart" -DIDENT_USER_HASH=0x5ac259baL - DIDENT_UNIX_TIME=0x44049261L -DIDENT_UID_HASH=0xf00c3f71L -DNESC=124 - I/usr/local/lib/ncc -I/Users/dan/tinyos-1.x/tos/lib/Deluge -I/Users/ dan/tinyos-1.x/tos/lib/CC2420Radio -I/Users/dan/tinyos-1.x/tos/ platform/telosb -I/Users/dan/tinyos-1.x/tos/platform/telos -I/Users/ dan/tinyos-1.x/tos/platform/msp430 -I/Users/dan/tinyos-1.x/tos/lib/ Flash/STM25P -I/Users/dan/tinyos-1.x/tos/lib/Flash -I/Users/dan/ tinyos-1.x/tos/sensorboards/ -I/Users/dan/tinyos-1.x/tos/platform/ telosb -I/Users/dan/tinyos-1.x/tos/interfaces -I/Users/dan/tinyos-1.x/ tos/types -I/Users/dan/tinyos-1.x/tos/system -O -Wall -Wshadow -v -o / var/tmp//ccBEFphu.o Blink.nc -_ASM nesc1 -_fnesc-gcc=msp430-gcc -_fnesc-include=nesc_nx -_fnesc- include=tos -_Wnesc-all -_fnesc-target=msp430 -_fnesc-no-debug - mdisable-hwmul -mmcu=msp430x1611 -DPLATFORM_TELOSB -DBOARD_ - DDEF_TOS_AM_GROUP=0x7d -DIDENT_PROGRAM_NAME="Blink" - DIDENT_USER_ID="dan" -DIDENT_HOSTNAME="DanielSteingart" - DIDENT_USER_HASH=0x5ac259baL -DIDENT_UNIX_TIME=0x44049261L - DIDENT_UID_HASH=0xf00c3f71L -DNESC=124 -I/usr/local/lib/ncc -I/Users/ dan/tinyos-1.x/tos/lib/Deluge -I/Users/dan/tinyos-1.x/tos/lib/ CC2420Radio -I/Users/dan/tinyos-1.x/tos/platform/telosb -I/Users/dan/ tinyos-1.x/tos/platform/telos -I/Users/dan/tinyos-1.x/tos/platform/ msp430 -I/Users/dan/tinyos-1.x/tos/lib/Flash/STM25P -I/Users/dan/ tinyos-1.x/tos/lib/Flash -I/Users/dan/tinyos-1.x/tos/sensorboards/ -I/ Users/dan/tinyos-1.x/tos/platform/telosb -I/Users/dan/tinyos-1.x/tos/ interfaces -I/Users/dan/tinyos-1.x/tos/types -I/Users/dan/tinyos-1.x/ tos/system -Wall -Wshadow -v Blink.nc -o build/telosb/app.c
preprocessing /Users/dan/tinyos-1.x/tos/system/tos.h
preprocessing /usr/local/lib/ncc/nesc_nx.h
preprocessing Blink.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/Main.nc
preprocessing /Users/dan/tinyos-1.x/tos/interfaces/StdControl.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/MainM.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/HPLInitC.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/HPLInitM.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/MSP430ClockC.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/ MSP430ClockInit.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/MSP430ClockM.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/MSP430Timer.h
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/ MSP430DCOCalibC.nc preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/ MSP430DCOCalibM.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/MSP430Timer.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/MSP430TimerC.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/ MSP430TimerControl.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/MSP430Compare.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/MSP430Capture.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/MSP430TimerM.nc
preprocessing BlinkM.nc
preprocessing /Users/dan/tinyos-1.x/tos/interfaces/Timer.nc
preprocessing /Users/dan/tinyos-1.x/tos/interfaces/Timer.h
preprocessing /Users/dan/tinyos-1.x/tos/interfaces/Leds.nc
preprocessing SingleTimer.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/TimerC.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/LocalTime.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/TimerMilli.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/TimerJiffy.nc
preprocessing /Users/dan/tinyos-1.x/tos/platform/msp430/TimerM.nc
preprocessing /Users/dan/tinyos-1.x/tos/system/LedsC.nc
-B/usr/local/lib/ncc -mdisable-hwmul -mmcu=msp430x1611 -O -Wall - Wshadow -v -o /var/tmp//ccBEFphu.o -c -fdollars-in-identifiers build/ telosb/app.c
make: *** [exe0] Error 1

Note the -B/usr/local/lib/ncc line... this seems to be the argument to an executable that isn't be called. Any ideas?

Thanks in advance,

Dan


On Feb 28, 2006, at 9:34 AM, Philip Levis wrote:


On Feb 28, 2006, at 8:35 AM, Dan Steingart wrote:

While trying to compile a telos b binary I get this error:

mkdir -p build/telos
    compiling Blink to a telos binary
ncc -o build/telos/main.exe -O -mdisable-hwmul -I/Users/dan/ tinyos-1.x/tos/lib/CC2420Radio -I/Users/dan/tinyos-1.x/tos/lib/ Flash -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all - target=telos -fnesc-cfile=build/telos/app.c -board= -I%T/lib/ Deluge -Wl,--section-start=.text=0x1a00,-- defsym=_reset_vector__=0x1100 -DIDENT_PROGRAM_NAME=\"Blink\" - DIDENT_USER_ID=\"dan\" -DIDENT_HOSTNAME=\"DanielSteingart\" - DIDENT_USER_HASH=0x5ac259baL -DIDENT_UNIX_TIME=0x44047b48L - DIDENT_UID_HASH=0x6f267828L Blink.nc -lm
make: *** [exe0] Error 1

Anyone have any hints on where to start debugging?

Thanks in advance,


Pass -v to ncc. E.g.,

CFLAGS = -v

in the Makefile before the include.

Phil


_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to