Hello friends,
I was trying to work upon TOSSIM for the first time. I started working upon
the TOSSIM tutorial on the wiki. when i did the make micaz sim for the
RadioCountToLeds it gave me the below error can anybody please help. Any
sort of help would be really appreciated.
**
**
*agrawalg-RadioCountToLeds-)* make micaz sim
mkdir -p simbuild/micaz
  placing object files in simbuild/micaz
  writing XML schema to app.xml
  compiling RadioCountToLedsAppC 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\(\) -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=\"RadioCountToLed\"
-DIDENT_USERNAME=\"agrawalg\" -DIDENT_HOSTNAME=\"uf053\"
-DIDENT_USERHASH=0x6c88d777L -DIDENT_TIMESTAMP=0x4c938e3cL
-DIDENT_UIDHASH=0x938ce7bbL -Wno-nesc-data-race RadioCountToLedsAppC.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=\"RadioCountToLed\" -DIDENT_USERNAME=\"agrawalg\"
-DIDENT_HOSTNAME=\"uf053\" -DIDENT_USERHASH=0x6c88d777L
-DIDENT_TIMESTAMP=0x4c938e3cL -DIDENT_UIDHASH=0x938ce7bbL
/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx
-I/usr/include/python2.5
-I/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim -DHAVE_CONFIG_H
/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:26:20:
error: Python.h: No such file or directory
/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:296:
error: ISO C++ forbids declaration of 'PyObject' with no type
/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:296:
error: expected ';' before '*' token
/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:297:
error: 'PyObject' has not been declared
/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:302:
error: 'PyObject_HEAD' does not name a type
/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:306:
error: expected initializer before '*' token
/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:313:
error: 'FILE' has not been declared
/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: In
function 'int swig_varlink_print(swig_varlinkobject*, int*, int)':
/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:316:
error: 'fprintf' was not declared in this scope
/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:317:
error: 'struct swig_varlinkobject' has no member named 'vars'
/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx: At
global scope:
/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:325:
error: expected initializer before '*' token
/home/P09/agrawalg/mywork1/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:3496:
error: expected '}' at end of input
make: *** [sim-exe] Error 1

Regards,
Gaurav
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to