Hi

When trying to compile a PowerTOSSIM simulation, loads of errors are returned. 
An example is when I try to compile the included test, testMCU using the 
command:

make mica2 sim-energy

as instructed. The output is at the bottom of this message.

I am using tinyOS 2.1.1-3, with Python 2.5.5 on Cygwin.

Any help would be much appreciated,

Liam

OUTPUT:

ckb08...@dspecg-01 /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 -DUSE_DL_IMPORT -fpic  -o simbuild/mica2/sim.o -g -O0 -tossim -fnesc-nido
-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\)  -I/opt/tinyo
s-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-contr
ib/cedt/tos/platforms/mica2 -I/opt/tinyos-2.x-contrib/cedt/tos/chips/atm128 -I/o
pt/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/tiny
os-2.x-contrib/cedt/tos/platforms/mica2/chips/cc1000 -I/opt/tinyos-2.x-contrib/c
edt/tos/chips/at45db -I/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica/chips/at4
5db -I/opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/chips/at45db -fnesc-separ
ator=__ -Wall -Wshadow -Wnesc-all -target=mica2 -fnesc-cfile=simbuild/mica2/app.
c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=1000
00 -DIDENT_APPNAME=\"TestMCUAppC\" -DIDENT_USERNAME=\"ckb08164\" -DIDENT_HOSTNAM
E=\"dspecg-01\" -DIDENT_USERHASH=0x611ac3abL -DIDENT_TIMESTAMP=0x4c6015b6L -DIDE
NT_UIDHASH=0x63a9143dL -Wno-nesc-data-race TestMCUAppC.nc   -fnesc-dump=componen
ts -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/CC1000Co
nst.h:58,
                 from /opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/chips/cc1
000/sim/HplCC1000P.nc:72,
                 from /opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/chips/cc1
000/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/Platfo
rmC.nc:41,
                 from /opt/tinyos-2.x/tos/lib/tossim/MainC.nc:52,
                 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:84,
                 from /opt/tinyos-2.x/tos/chips/cc1000/CC1000ActiveMessageC.nc:7
2,
                 from /opt/tinyos-2.x-contrib/cedt/tos/platforms/mica2/sim/Activ
eMessageC.nc:60,
                 from TestMCUAppC.nc:39:
In component `CC1000CsmaP':
/opt/tinyos-2.x-contrib/cedt/tos/chips/cc1000/sim/CC1000CsmaP.nc:119: syntax err
or 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
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to