Hi, I am getting the following error when I try to compile the TOSthread demo examples. I could not find any help from the forums. Please help.
Error on compiling the Blink tosthread demo sensornet4@xxxxxx:~/tinyos-2.x/apps/tosthreads/apps/Blink$ make telosb threads mkdir -p build/telosb compiling BlinkAppC to a telosb binary ncc -o build/telosb/main.exe -Os -O -DTHREADS -tosscheduler=TinyTaskSchedulerC,TinyTaskSchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask -mdisable-hwmul -fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=telosb -fnesc-cfile=build/telosb/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"sensornet4\" -DIDENT_HOSTNAME=\"prumm\" -DIDENT_USERHASH=0x57dc953aL -DIDENT_TIMESTAMP=0x4de549f5L -DIDENT_UIDHASH=0xbfa7d933L -I/home/sensornet4/tinyos-2.x/tos/lib/tosthreads/system -I/home/sensornet4/tinyos-2.x/tos/lib/tosthreads/interfaces -I/home/sensornet4/tinyos-2.x/tos/lib/tosthreads/types -I/home/sensornet4/tinyos-2.x/tos/lib/tosthreads/lib/serial -I/home/sensornet4/tinyos-2.x/tos/lib/tosthreads/chips/msp430 -I/home/sensornet4/tinyos-2.x/tos/lib/tosthreads/chips/msp430/adc12 -I/home/sensornet4/tinyos-2.x/tos/lib/tosthreads/chips/msp430/sensors -I/home/sensornet4/tinyos-2.x/tos/lib/tosthreads/chips/cc2420 -I/home/sensornet4/tinyos-2.x/tos/lib/tosthreads/platforms/telosa -DPLATFORM_TELOSB BlinkAppC.nc -lm /home/sensornet4/tinyos-2.x/tos/lib/tosthreads/system/TinyThreadSchedulerP.nc:191: warning: call via function pointer /home/sensornet4/tinyos-2.x/tos/lib/tosthreads/system/SystemCallP.nc:49: warning: call via function pointer In component `HilTimerMilliC.AlarmToTimerC': /home/sensornet4/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc: In function `Alarm.fired': /home/sensornet4/tinyos-2.x/tos/lib/timer/AlarmToTimerC.nc(HilTimerMilliC.AlarmToTimerC):82: fired.postTask not connected In component `SystemCallP': /home/sensornet4/tinyos-2.x/tos/lib/tosthreads/system/SystemCallP.nc: In function `SystemCall.start': /home/sensornet4/tinyos-2.x/tos/lib/tosthreads/system/SystemCallP.nc:74: threadTask.postTask not connected In component `ThreadTimersC.VirtualizeTimerC': /home/sensornet4/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc: In function `startTimer': /home/sensornet4/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc(ThreadTimersC.VirtualizeTimerC):151: updateFromTimer.postTask not connected In component `HilTimerMilliC.VirtualizeTimerC': /home/sensornet4/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc: In function `startTimer': /home/sensornet4/tinyos-2.x/tos/lib/timer/VirtualizeTimerC.nc(HilTimerMilliC.VirtualizeTimerC):151: updateFromTimer.postTask not connected make: *** [exe0] Error 1 I am getting the same error when I tried compiling my own code. Am I missing something or have I not configured some required environment variable? Please help Thanks and Regards Anupam Ashish -- View this message in context: http://old.nabble.com/Problem-compiling-tosthreads-demo-code-tp31744254p31744254.html Sent from the TinyOS - Help mailing list archive at Nabble.com. _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
