Hi,
            I am working with TOSSIM on tinyos-2.1.1 and when i compile i
get a following output. Here even though its building the TOSSIM library.
Its giving some sort of an error while compiling the python support and
Clibraries as i indicated in bold below. Can anyone give me a solution to
avoid that.

r...@praneeth-laptop:/opt/tinyos-2.1.1/apps/Sense# make micaz sim
mkdir -p simbuild/micaz
  placing object files in simbuild/micaz
  writing XML schema to app.xml
  compiling SenseAppC 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=\"SenseAppC\" -DIDENT_USERNAME=\"root\"
-DIDENT_HOSTNAME=\"praneeth-laptop\" -DIDENT_USERHASH=0x225b3324L
-DIDENT_TIMESTAMP=0x4bf22766L -DIDENT_UIDHASH=0xae76ddb1L
-Wno-nesc-data-race SenseAppC.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=\"SenseAppC\" -DIDENT_USERNAME=\"root\"
-DIDENT_HOSTNAME=\"praneeth-laptop\" -DIDENT_USERHASH=0x225b3324L
-DIDENT_TIMESTAMP=0x4bf22766L -DIDENT_UIDHASH=0xae76ddb1L
/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=\"SenseAppC\" -DIDENT_USERNAME=\"root\"
-DIDENT_HOSTNAME=\"praneeth-laptop\" -DIDENT_USERHASH=0x225b3324L
-DIDENT_TIMESTAMP=0x4bf22766L -DIDENT_UIDHASH=0xae76ddb1L
/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=\"SenseAppC\" -DIDENT_USERNAME=\"root\"
-DIDENT_HOSTNAME=\"praneeth-laptop\" -DIDENT_USERHASH=0x225b3324L
-DIDENT_TIMESTAMP=0x4bf22766L -DIDENT_UIDHASH=0xae76ddb1L
/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.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to