[Tinyos-help] Tossim

Alexandre Locci Martins alexandre.locci at gmail.com
Mon Apr 19 13:24:27 PDT 2010


Hi

I m trying run tossim but it does not work.
I try

$make micaz sim

and the output is

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 --param max-inline-insns-single=100000
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"root\"
-DIDENT_HOSTNAME=\"NCC1701B\" -DIDENT_USERHASH=0x07701c56L
-DIDENT_TIMESTAMP=0x4bccb8f5L -DIDENT_UIDHASH=0x8f718a7dL
-I/usr/include/python2.6 -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
  compiling Python support and C libraries into pytossim.o, tossim.o, and
c-support.o
g++ -c  -shared -fPIC -o simbuild/micaz/pytossim.o -g -O0
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"root\"
-DIDENT_HOSTNAME=\"NCC1701B\" -DIDENT_USERHASH=0x07701c56L
-DIDENT_TIMESTAMP=0x4bccb8f5L -DIDENT_UIDHASH=0x8f718a7dL
-I/usr/include/python2.6 /opt/tinyos-2.1.1/tos/lib/tossim/tossim_wrap.cxx
-I/usr/include/python2.5 -I/opt/tinyos-2.1.1/tos/lib/tossim -DHAVE_CONFIG_H
/opt/tinyos-2.1.1/tos/lib/tossim/tossim_wrap.cxx: In function ‘void
SWIG_Python_AddErrorMsg(const char*)’:
/opt/tinyos-2.1.1/tos/lib/tossim/tossim_wrap.cxx:880: warning: format not a
string literal and no format arguments
g++ -c  -shared -fPIC -o simbuild/micaz/tossim.o -g -O0
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"root\"
-DIDENT_HOSTNAME=\"NCC1701B\" -DIDENT_USERHASH=0x07701c56L
-DIDENT_TIMESTAMP=0x4bccb8f5L -DIDENT_UIDHASH=0x8f718a7dL
-I/usr/include/python2.6 /opt/tinyos-2.1.1/tos/lib/tossim/tossim.c
-I/usr/include/python2.5 -I/opt/tinyos-2.1.1/tos/lib/tossim
g++ -c  -shared -fPIC -o simbuild/micaz/c-support.o -g -O0
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"root\"
-DIDENT_HOSTNAME=\"NCC1701B\" -DIDENT_USERHASH=0x07701c56L
-DIDENT_TIMESTAMP=0x4bccb8f5L -DIDENT_UIDHASH=0x8f718a7dL
-I/usr/include/python2.6 /opt/tinyos-2.1.1/tos/lib/tossim/hashtable.c
-I/usr/include/python2.5 -I/opt/tinyos-2.1.1/tos/lib/tossim
  linking into shared object ./_TOSSIMmodule.so
g++ -shared -fPIC  simbuild/micaz/pytossim.o simbuild/micaz/sim.o
simbuild/micaz/tossim.o simbuild/micaz/c-support.o -lstdc++  -o
_TOSSIMmodule.so
  copying Python script interface TOSSIM.py from lib/tossim to local
directory

*** Successfully built micaz TOSSIM library.

But tossim cant create the 'main.exe' file to run the gui!
My OS is Ubuntu 9.10.

Any help.

-- 
Alexandre Locci Martins
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20100419/38669704/attachment.htm 


More information about the Tinyos-help mailing list