Hi
I use PowerTOSSIM is provided at this address:

https://github.com/tyll/tinyos-2.x-contrib/tree/master/cedt

but when i try to build sample project (TestMCU) by typing this command
>$ make mica2 sim-energy
compiler take error like below. i try "make mica2" and "make mica2 sim" but
there are not any an long error. must i say that i installed powerTOSSIM by
"make install" command.
what is problem actually?

********************************************************************************
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.1.2/tos/platforms/mica2/MotePlatformC.nc:21,
                 from
/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica/sim/PlatformC.nc:41,
                 from /opt/tinyos-2.1.2/tos/lib/tossim/MainC.nc:52,
                 from TestMCUAppC.nc:27:
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000Msg.h:32: syntax error before
`nx_bool'
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000Msg.h:32: warning: no semicolon at
end of struct or union
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000Msg.h:36: syntax error before `}'
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000Msg.h:36: warning: type defaults
to `int' in declaration of `cc1000_metadata_t'
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000Msg.h:36: warning: data definition
has no type or storage class
In file included from
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000CsmaRadioC.nc:84,
                 from
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000ActiveMessageC.nc:72,
                 from
/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/sim/ActiveMessageC.nc:60,
                 from /opt/tinyos-2.1.2/tos/lib/tossim/MainC.nc:72,
                 from TestMCUAppC.nc:27:
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.setRemoteWakeupInterval' not implemented
CC1000CsmaP: `LowPowerListening.getRemoteWakeupInterval' not implemented
CC1000CsmaP: `LowPowerListening.getLocalWakeupInterval' not implemented
CC1000CsmaP: `LowPowerListening.setLocalWakeupInterval' 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.1.2/tos/chips/cc1000/CC1000CsmaRadioC.nc:85,
                 from
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000ActiveMessageC.nc:72,
                 from
/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/sim/ActiveMessageC.nc:60,
                 from /opt/tinyos-2.1.2/tos/lib/tossim/MainC.nc:72,
                 from TestMCUAppC.nc:27:
In interface `RadioTimeStamping':
/opt/tinyos-2.1.2/tos/interfaces/RadioTimeStamping.nc:51: warning:
declaration of `time' shadows global declaration
/usr/include/time.h:192: 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.1.2/tos/chips/cc1000/CC1000CsmaRadioC.nc:85,
                 from
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000ActiveMessageC.nc:72,
                 from
/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/sim/ActiveMessageC.nc:60,
                 from /opt/tinyos-2.1.2/tos/lib/tossim/MainC.nc:72,
                 from TestMCUAppC.nc:27:
/opt/tinyos-2.1.2/tos/interfaces/RadioTimeStamping.nc:62: warning:
declaration of `time' shadows global declaration
/usr/include/time.h:192: 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.1.2/tos/chips/atm128/timer/HplAtm128Timer1C.nc:53,
                 from
/opt/tinyos-2.1.2/tos/platforms/mica/CounterOne16C.nc:28,
                 from
/opt/tinyos-2.1.2/tos/platforms/mica/Counter32khz32C.nc:28,
                 from
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000CsmaRadioC.nc:136,
                 from
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000ActiveMessageC.nc:72,
                 from
/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/sim/ActiveMessageC.nc:60,
                 from /opt/tinyos-2.1.2/tos/lib/tossim/MainC.nc:72,
                 from TestMCUAppC.nc:27:
In component `HplAtm128Timer1P':
/opt/tinyos-2.1.2/tos/chips/atm128/timer/HplAtm128Timer1P.nc:215: warning:
declaration of `time' shadows global declaration
/usr/include/time.h:192: warning: location of shadowed declaration
In component `CC1000CsmaRadioC':
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000CsmaRadioC.nc:105: no match
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000CsmaRadioC.nc:119: cannot find
`CC1000Squelch'
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000CsmaRadioC.nc:132: no match
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000CsmaRadioC.nc:133: no match
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000CsmaRadioC.nc:134: no match
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000CsmaRadioC.nc:138: cannot find
`LocalTime32khz'
/opt/tinyos-2.1.2/tos/chips/cc1000/CC1000CsmaRadioC.nc:142: cannot find
`LocalTimeMilli'
make: *** [sim-exe] Error 1
********************************************************************************
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to