i'm working wtih tinyos-2.1.1 in ubuntu 10.04

    when i use the command " make micaz sim"  i get the 
following error, can any one suggest me the solution?

    manjula@manjula-desktop:~/Blink$ make micaz sim

    mkdir -p simbuild/micaz

      placing object files in simbuild/micaz

      writing XML schema to app.xml

      compiling BlinkAppC 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=\"BlinkAppC\" -DIDENT_USERNAME=\"manjula\" 

    -DIDENT_HOSTNAME=\"manjula-desktop\" -DIDENT_USERHASH=0xcbc93b00L 

    -DIDENT_TIMESTAMP=0x4e9d2687L -DIDENT_UIDHASH=0x7d4166f8L 

   
 -I/usr/lib/python2.6/include    
 

    -Wno-nesc-data-race BlinkAppC.nc   

    -fnesc-dump=components -fnesc-dump=variables 
-fnesc-dump=constants 

    -fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags 

    -fnesc-dumpfile=app.xml



- Ignored:

    

    /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_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/chips/atm128/timer/Atm128AlarmAsyncP.nc: In 
function 

    ?Atm128AlarmAsyncP$0$Alarm$getAlarm?:

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:227: error: 
?tos_state? 

    undeclared (first use in this function)

    

    /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: In function 

    ?AlarmToTimerC$0$start?:

    

    /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:49: error: 
?tos_state? undeclared 

    (first use in this function)

    

    /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc: In function 

    ?AlarmToTimerC$0$fired$runTask?:

    

    /opt/tinyos-2.1.1/tos/lib/timer/AlarmToTimerC.nc:65: error: 
?tos_state? undeclared 

    (first use in this function)

    

    /opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc: In 
function 

    ?Atm128AlarmAsyncP$0$Alarm$stop?:

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:205: error: 
?tos_state? 

    undeclared (first use in this function)

    

    /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc: In function 

    ?VirtualizeTimerC$0$updateFromTimer$runTask?:

    

    /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:104: 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/SimSchedulerBasicP.nc: In 
function 

    ?SimSchedulerBasicP$isWaiting?:

    

    /opt/tinyos-2.1.1/tos/lib/tossim/SimSchedulerBasicP.nc:133: 
error: ?tos_state? 

    undeclared (first use in this function)

    

    /opt/tinyos-2.1.1/tos/lib/tossim/SimSchedulerBasicP.nc: In 
function 

    ?SimSchedulerBasicP$pushTask?:

    

    /opt/tinyos-2.1.1/tos/lib/tossim/SimSchedulerBasicP.nc:140: 
error: ?tos_state? 

    undeclared (first use in this function)

    

    /opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc: In 
function 

    ?Atm128AlarmAsyncP$0$setOcr0?:

    

    /opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:82: 
error: ?tos_state? 

    undeclared (first use in this function)

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc: In 
function 

    ?HplAtm128Timer0AsyncP$cancel_compare?:

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc:570:
 error: ?tos_state? 

    undeclared (first use in this function)

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc: In 
function 

    ?HplAtm128Timer0AsyncP$notify_changed?:

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc:111:
 error: ?tos_state? 

    undeclared (first use in this function)

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc: In 
function 

    ?HplAtm128Timer0AsyncP$cancel_overflow?:

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc:538:
 error: ?tos_state? 

    undeclared (first use in this function)

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc: In 
function 

    ?HplAtm128Timer0AsyncP$schedule_new_overflow?:

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc:530:
 error: ?tos_state? 

    undeclared (first use in this function)

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc: In 
function 

    ?HplAtm128Timer0AsyncP$Timer0$set?:

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc:301:
 error: ?tos_state? 

    undeclared (first use in this function)

    

    /opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc: In 
function 

    ?Atm128AlarmAsyncP$0$Compare$fired?:

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:153: error: 
?tos_state? 

    undeclared (first use in this function)

    

    /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc: In function 

    ?VirtualizeTimerC$0$startTimer?:

    

    /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:135: 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$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/chips/atm128/timer/Atm128AlarmAsyncP.nc: In 
function 

    ?Atm128AlarmAsyncP$0$Counter$get?:

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:173: error: 
?tos_state? 

    undeclared (first use in this function)

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc: In 
function 

    ?HplAtm128Timer0AsyncP$last_zero?:

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc:101:
 error: ?tos_state? 

    undeclared (first use in this function)

    

    /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc: In function 

    ?VirtualizeTimerC$0$fireTimers?:

    

    /opt/tinyos-2.1.1/tos/lib/timer/VirtualizeTimerC.nc:68: 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/chips/atm128/timer/Atm128AlarmAsyncP.nc: In 
function 

    ?Atm128AlarmAsyncP$0$Alarm$startAt?:

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:215: error: 
?tos_state? 

    undeclared (first use in this function)

    

    /opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc: In 
function 

    ?Atm128AlarmAsyncP$0$setInterrupt?:

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/Atm128AlarmAsyncP.nc:113: error: 
?tos_state? 

    undeclared (first use in this function)

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc: In 
function 

    ?HplAtm128Timer0AsyncP$schedule_new_compare?:

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc:260:
 error: ?tos_state? 

    undeclared (first use in this function)

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc: In 
function 

    ?INTERRUPT_16?:

    

   
 /opt/tinyos-2.1.1/tos/chips/atm128/timer/sim/HplAtm128Timer0AsyncP.nc:93: 
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

    

    manjula@manjula-desktop:~/Blink$ 

    

    

    

    R.MANJULA



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

Reply via email to