Hi all,
I am try to setup TOSSIM on my machine, after all the installation, I get
the following error when I type "make micaz sim" for BlinkC app.
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-motenumber=sim_node\(\) -fnesc-gcc=gcc -Wall -Wshadow
-Wnesc-all -target=micaz -fnesc-cfile=simbuild/micaz/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP=0x22 -finline-limit=100000
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"wasif\"
-DIDENT_HOSTNAME=\"wasif-VirtualBo\" -DIDENT_USERHASH=0x1f985317L
-DIDENT_TIMESTAMP=0x50489375L -DIDENT_UIDHASH=0x242fb776L
-I/opt/python/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
In file included from
/home/wasif/tinyos-2.x/tos/lib/tossim/ActiveMessageC.nc:57,
from /home/wasif/tinyos-2.x/tos/lib/tossim/MainC.nc:72,
from BlinkAppC.nc:56:
In component `TossimPacketModelC':
/home/wasif/tinyos-2.x/tos/lib/tossim/TossimPacketModelC.nc:140:
conflicting types for `PacketAcknowledgements.wasAcked'
/home/wasif/tinyos-2.x/tos/interfaces/PacketAcknowledgements.nc:85:
previous declaration of `PacketAcknowledgements.wasAcked'
make: *** [sim-exe] Error 1
Can ideas what to be done, apprently, its the conflict between
ActiveMessageC and Tossim ActiveMessageC, any ideas how to resolve it?
Regards,
Wasif Masood
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help