Dear All I installed python 2.6.5 and tiny os but when i want to complie for TOSSIM i am getting following error.
rai...@raihan-laptop:~/tinyos/Powerup$ make micaz sim mkdir -p simbuild/micaz placing object files in simbuild/micaz writing XML schema to app.xml compiling PowerupAppC to object file sim.o ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido- -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000 -DIDENT_APPNAME=\"PowerupAppC\" -DIDENT_USERNAME=\"raihan\" -DIDENT_HOSTNAME=\"raihan-laptop\" -DIDENT_USERHASH=0xf3751655L -DIDENT_TIMESTAMP=0x4c935e36L -DIDENT_UIDHASH=0x06241b9aL -I/usr/include/python2.6 -Wno-nesc-data-race PowerupAppC.nc -fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags -fnesc-dumpfile=app.xml /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc: In function ‘SimMoteP$SimMote$isOn’: /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc:57: error: ‘tos_state’ undeclared (first use in this function) /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc:57: error: (Each undeclared identifier is reported only once /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc:57: error: for each function it appears in.) /opt/tinyos-2.1.1/tos/lib/tossim/TossimActiveMessageC.nc: In function ‘TossimActiveMessageC$Model$receive’: /opt/tinyos-2.1.1/tos/lib/tossim/TossimActiveMessageC.nc:105: error: ‘tos_state’ undeclared (first use in this function) /opt/tinyos-2.1.1/tos/lib/tossim/SimSchedulerBasicP.nc: In function ‘SimSchedulerBasicP$sim_scheduler_submit_event’: /opt/tinyos-2.1.1/tos/lib/tossim/SimSchedulerBasicP.nc:70: error: ‘tos_state’ undeclared (first use in this function) /opt/tinyos-2.1.1/tos/lib/tossim/SimSchedulerBasicP.nc: In function ‘SimSchedulerBasicP$sim_scheduler_event_handle’: /opt/tinyos-2.1.1/tos/lib/tossim/SimSchedulerBasicP.nc:78: error: ‘tos_state’ undeclared (first use in this function) /opt/tinyos-2.1.1/tos/lib/tossim/SimSchedulerBasicP.nc: In function ‘SimSchedulerBasicP$Scheduler$init’: /opt/tinyos-2.1.1/tos/lib/tossim/SimSchedulerBasicP.nc:163: error: ‘tos_state’ undeclared (first use in this function) /opt/tinyos-2.1.1/tos/lib/tossim/SimSchedulerBasicP.nc: In function ‘SimSchedulerBasicP$popTask’: /opt/tinyos-2.1.1/tos/lib/tossim/SimSchedulerBasicP.nc:114: error: ‘tos_state’ undeclared (first use in this function) /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc: In function ‘SimMoteP$SimMote$getEuid’: /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc:48: error: ‘tos_state’ undeclared (first use in this function) /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc: In function ‘SimMoteP$SimMote$setEuid’: /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc:51: error: ‘tos_state’ undeclared (first use in this function) /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc: In function ‘SimMoteP$SimMote$getStartTime’: /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc:54: error: ‘tos_state’ undeclared (first use in this function) /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc: In function ‘SimMoteP$SimMote$turnOff’: /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc:78: error: ‘tos_state’ undeclared (first use in this function) /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc: In function ‘SimMoteP$sim_mote_boot_handle’: /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc:153: error: ‘tos_state’ undeclared (first use in this function) /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc: In function ‘sim_mote_set_start_time’: /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc:120: error: ‘tos_state’ undeclared (first use in this function) /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc: In function ‘SimMoteP$SimMote$turnOn’: /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc:65: error: ‘tos_state’ undeclared (first use in this function) /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc: In function ‘sim_mote_enqueue_boot_event’: /opt/tinyos-2.1.1/tos/lib/tossim/SimMoteP.nc:162: error: ‘tos_state’ undeclared (first use in this function) make: *** [sim-exe] Error 1 Please advice me.. How can i solve it.. Thanks Raihan
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
