Dear All, I am trying to compile the "BlinkToRadio" module in tutorial 3 of TinyOS 2.0.
The compilation runs smooth for a "make micaz", but not for simulation. I use Fedora core 6.0. Can anyone tell me what the problem is? When i try making the file for simulation (tossim), i get the following error: --------------------------------------------------------------- $> make micaz sim mkdir -p build/micaz placing object files in build/micaz writing XML schema to app.xml compiling BlinkToRadioAppC to object file sim.o ncc -c -shared -fPIC -o build/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes=1000 -fnesc-simulate -fnesc-nido-motenumber=sim_node\(\) -finline-limit=100000 -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb -Wno-nesc-data-race BlinkToRadioAppC.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 build/micaz/pytossim.o -g -O0 /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx -I/usr/include/python2.3 -I/opt/tinyos-2.x/tos/lib/tossim -DHAVE_CONFIG_H /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:129:20: error: Python.h: No such file or directory /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:2483:4: error: #error "This python version requires to use swig with the '-classic' option" /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:736: error: expected initializer before '*' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:791: error: expected initializer before '*' token /opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:804: error: expected initializer before '*' token /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/exception:40: error: expected declaration before end of line make: *** [sim-exe] Error 1 ------------------------------------------------------------------- Best, Miki
_______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help