hi,
    i am trying to compile TestMCU in tinyos 2-contrib-cedt, but i get this 
errors:
plz help!!!

Regards 
             Arslan Shahid


/opt/tinyos-2.x-contrib/cedt/apps/tests/TestMCU$ make mica2 sim-energy
mkdir -p simbuild/mica2
  placing object files in simbuild/mica2
  writing XML schema to app.xml
  compiling TestMCUAppC to object file sim.o
ncc -c -shared -fPIC -o simbuild/mica2/sim.o -g -O0 -tossim 
-fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\)  
-I/opt/tinyos-2.x-contrib/cedt/tos/lib/tossim/energy 
-I/opt/tinyos-2.x-contrib/cedt/tos/lib/tossim 
-I/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica 
-I/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2 
-I/opt/tinyos-2.x-contrib/cedt/tos/chips/atm128 
-I/opt/tinyos-2.x-contrib/cedt/tos/chips/atm128/pins 
-I/opt/tinyos-2.x-contrib/cedt/tos/chips/atm128/adc 
-I/opt/tinyos-2.x-contrib/cedt/tos/chips/cc1000 
-I/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/chips/cc1000 
-I/opt/tinyos-2.x-contrib/cedt/tos/chips/at45db 
-I/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica/chips/at45db 
-I/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/chips/at45db 
-fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=mica2 
-fnesc-cfile=simbuild/mica2/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 
--param max-inline-insns-single=100000 -DIDENT_APPNAME=\"TestMCUAppC\" 
-DIDENT_USERNAME=\"arslan\" -DIDENT_HOSTNAME=\"arslan-desktop\" 
-DIDENT_USERHASH=0xa03ccee1L -DIDENT_TIMESTAMP=0x4af5bbb7L 
-DIDENT_UIDHASH=0xc213f5edL -Wno-nesc-data-race TestMCUAppC.nc   
-fnesc-dump=components -fnesc-dump=variables -fnesc-dump=constants 
-fnesc-dump=typedefs -fnesc-dump=interfacedefs -fnesc-dump=tags 
-fnesc-dumpfile=app.xml
In file included from 
/opt/tinyos-2.x-contrib/cedt/tos/chips/cc1000/sim/CC1000Const.h:58,
                 from 
/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/chips/cc1000/sim/HplCC1000P.nc:72,
                 from 
/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/chips/cc1000/sim/HplCC1000InitP.nc:40,
                 from /opt/tinyos-2.x/tos/platforms/mica2/MotePlatformC.nc:21,
                 from 
/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica/sim/PlatformC.nc:41,
                 from /opt/tinyos-2.x/tos/lib/tossim/MainC.nc:44,
                 from TestMCUAppC.nc:27:
/opt/tinyos-2.x/tos/chips/cc1000/CC1000Msg.h:32: syntax error before `nx_bool'
/opt/tinyos-2.x/tos/chips/cc1000/CC1000Msg.h:32: warning: no semicolon at end 
of struct or union
/opt/tinyos-2.x/tos/chips/cc1000/CC1000Msg.h:36: syntax error before `}'
/opt/tinyos-2.x/tos/chips/cc1000/CC1000Msg.h:36: warning: type defaults to 
`int' in declaration of `cc1000_metadata_t'
/opt/tinyos-2.x/tos/chips/cc1000/CC1000Msg.h:36: warning: data definition has 
no type or storage class
In file included from /opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaRadioC.nc:73,
                 from 
/opt/tinyos-2.x/tos/chips/cc1000/CC1000ActiveMessageC.nc:60,
                 from 
/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/sim/ActiveMessageC.nc:60,
                 from TestMCUAppC.nc:39:
In component `CC1000CsmaP':
/opt/tinyos-2.x-contrib/cedt/tos/chips/cc1000/sim/CC1000CsmaP.nc:119: syntax 
error before `*'
CC1000CsmaP: `SplitControl.start' not implemented
CC1000CsmaP: `SplitControl.stop' not implemented
CC1000CsmaP: `setWakeupTask.runTask' not implemented
CC1000CsmaP: `RssiNoiseFloor.readDone' not implemented
CC1000CsmaP: `LowPowerListening.getLocalSleepInterval' not implemented
CC1000CsmaP: `LowPowerListening.getRxDutyCycle' not implemented
CC1000CsmaP: `LowPowerListening.sleepIntervalToDutyCycle' not implemented
CC1000CsmaP: `LowPowerListening.getLocalDutyCycle' not implemented
CC1000CsmaP: `LowPowerListening.setRxSleepInterval' not implemented
CC1000CsmaP: `LowPowerListening.setLocalDutyCycle' not implemented
CC1000CsmaP: `LowPowerListening.setRxDutyCycle' not implemented
CC1000CsmaP: `LowPowerListening.dutyCycleToSleepInterval' not implemented
CC1000CsmaP: `LowPowerListening.getRxSleepInterval' not implemented
CC1000CsmaP: `LowPowerListening.setLocalSleepInterval' not implemented
CC1000CsmaP: `CsmaControl.disableCca' not implemented
CC1000CsmaP: `CsmaControl.enableCca' not implemented
CC1000CsmaP: `Init.init' not implemented
CC1000CsmaP: `RssiCheckChannel.readDone' not implemented
CC1000CsmaP: `WakeupTimer.fired' not implemented
CC1000CsmaP: `RssiPulseCheck.readDone' not implemented
CC1000CsmaP: `ByteRadio.rts' not implemented
CC1000CsmaP: `ByteRadio.rxDone' not implemented
CC1000CsmaP: `ByteRadio.idleByte' not implemented
CC1000CsmaP: `ByteRadio.sendDone' not implemented
CC1000CsmaP: `ByteRadio.rx' not implemented
In file included from 
/opt/tinyos-2.x-contrib/cedt/tos/chips/cc1000/sim/CC1000SendReceiveP.nc:61,
                 from /opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaRadioC.nc:74,
                 from 
/opt/tinyos-2.x/tos/chips/cc1000/CC1000ActiveMessageC.nc:60,
                 from 
/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/sim/ActiveMessageC.nc:60,
                 from TestMCUAppC.nc:39:
In interface `RadioTimeStamping':
/opt/tinyos-2.x/tos/interfaces/RadioTimeStamping.nc:40: warning: declaration of 
`time' shadows global declaration
/usr/include/time.h:187: warning: location of shadowed declaration
In file included from 
/opt/tinyos-2.x-contrib/cedt/tos/chips/cc1000/sim/CC1000SendReceiveP.nc:61,
                 from /opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaRadioC.nc:74,
                 from 
/opt/tinyos-2.x/tos/chips/cc1000/CC1000ActiveMessageC.nc:60,
                 from 
/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/sim/ActiveMessageC.nc:60,
                 from TestMCUAppC.nc:39:
/opt/tinyos-2.x/tos/interfaces/RadioTimeStamping.nc:51: warning: declaration of 
`time' shadows global declaration
/usr/include/time.h:187: warning: location of shadowed declaration
In component `CC1000SendReceiveP':
/opt/tinyos-2.x-contrib/cedt/tos/chips/cc1000/sim/CC1000SendReceiveP.nc:142: 
syntax error before `*'
CC1000SendReceiveP: `ByteRadio.listen' not implemented
CC1000SendReceiveP: `ByteRadio.syncing' not implemented
CC1000SendReceiveP: `ByteRadio.getPreambleLength' not implemented
CC1000SendReceiveP: `ByteRadio.cts' not implemented
CC1000SendReceiveP: `ByteRadio.setPreambleLength' not implemented
CC1000SendReceiveP: `ByteRadio.off' not implemented
CC1000SendReceiveP: `ByteRadio.getTxMessage' not implemented
CC1000SendReceiveP: `Packet.clear' not implemented
CC1000SendReceiveP: `Packet.payloadLength' not implemented
CC1000SendReceiveP: `Packet.getPayload' not implemented
CC1000SendReceiveP: `Packet.maxPayloadLength' not implemented
CC1000SendReceiveP: `Packet.setPayloadLength' not implemented
CC1000SendReceiveP: `Send.send' not implemented
CC1000SendReceiveP: `Send.getPayload' not implemented
CC1000SendReceiveP: `Send.maxPayloadLength' not implemented
CC1000SendReceiveP: `Send.cancel' not implemented
CC1000SendReceiveP: `HplCC1000Spi.dataReady' not implemented
CC1000SendReceiveP: `Init.init' not implemented
CC1000SendReceiveP: `RssiRx.readDone' not implemented
CC1000SendReceiveP: `PacketAcknowledgements.requestAck' not implemented
CC1000SendReceiveP: `PacketAcknowledgements.noAck' not implemented
CC1000SendReceiveP: `PacketAcknowledgements.wasAcked' not implemented
CC1000SendReceiveP: `StdControl.start' not implemented
CC1000SendReceiveP: `StdControl.stop' not implemented
In file included from 
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer1C.nc:44,
                 from /opt/tinyos-2.x/tos/platforms/mica/CounterOne16C.nc:28,
                 from /opt/tinyos-2.x/tos/platforms/mica/Counter32khz32C.nc:28,
                 from /opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaRadioC.nc:125,
                 from 
/opt/tinyos-2.x/tos/chips/cc1000/CC1000ActiveMessageC.nc:60,
                 from 
/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/sim/ActiveMessageC.nc:60,
                 from TestMCUAppC.nc:39:
In component `HplAtm128Timer1P':
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer1P.nc:206: warning: 
declaration of `time' shadows global declaration
/usr/include/time.h:187: warning: location of shadowed declaration
In component `CC1000CsmaRadioC':
/opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaRadioC.nc:94: no match
/opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaRadioC.nc:108: cannot find 
`CC1000Squelch'
/opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaRadioC.nc:121: no match
/opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaRadioC.nc:122: no match
/opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaRadioC.nc:123: no match
/opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaRadioC.nc:127: cannot find 
`LocalTime32khz'
/opt/tinyos-2.x/tos/chips/cc1000/CC1000CsmaRadioC.nc:131: cannot find 
`LocalTimeMilli'
make: *** [sim-exe] Error 1

                                          
_________________________________________________________________
Windows 7: Unclutter your desktop.
http://go.microsoft.com/?linkid=9690331&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to