I've just downloaded the XubunTOS image provided by the TinyOs team (
http://tinyos.stanford.edu/tinyos-wiki/index.php/Installing_XubunTOS_%28with_TinyOS_from_tp-freeforall/prod_repository%29_in_VirtualBox)
and while trying to compile the simple BLINK app with TOSSIM support I get
this:
user@XubunTOS:~/top/t2_cur/tinyos-2.x/apps/Blink$ make micaz sim
mkdir -p simbuild/micaz
make: python2.7-config: Command not found
make: python2.7-config: Command not found
make: python2.7-config: Command not found
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 --param max-inline-insns-single=100000
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"user\"
-DIDENT_HOSTNAME=\"XubunTOS\" -DIDENT_USERHASH=0x184e7486L
-DIDENT_TIMESTAMP=0x525ea2a7L -DIDENT_UIDHASH=0xa2e7468eL
-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/user/top/t2_cur/tinyos-2.x/tos/lib/tossim/ActiveMessageC.nc:57,
from
/home/user/top/t2_cur/tinyos-2.x/tos/lib/tossim/MainC.nc:72,
from BlinkAppC.nc:56:
In component `TossimPacketModelC':
/home/user/top/t2_cur/tinyos-2.x/tos/lib/tossim/TossimPacketModelC.nc:140:
conflicting types for `PacketAcknowledgements.wasAcked'
/home/user/top/t2_cur/tinyos-2.x/tos/interfaces/PacketAcknowledgements.nc:85:
previous declaration of `PacketAcknowledgements.wasAcked'
make: *** [sim-exe] Error 1
I've found this post (
http://tinyos-help.10906.n7.nabble.com/Problem-TOSSIM-td20553.html) which
explains a possible solution, but I can't make it work.
Could anyone help me?
Many thanks.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help