Hello all, i tried to compile tossim with tinyos2..1.1 using the Blink
application.
I got the following error:
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 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\(\) -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=\"RadioCountToLed\" -DIDENT_USERNAME=\"fatma\"
-DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x8f38acaeL
-DIDENT_TIMESTAMP=0x4fb80ae1L -DIDENT_UIDHASH=0x08a8b357L
-I/usr/include/python2.7 -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
/opt/tinyos-2.1.1/tos/lib/tossim/sim_noise.c: In function ‘sim_noise_gen’:
/opt/tinyos-2.1.1/tos/lib/tossim/sim_noise.c:283:7: warning: variable
‘noiseIndex’ set but not used [-Wunused-but-set-variable]
  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=\"fatma\"
-DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x8f38acaeL
-DIDENT_TIMESTAMP=0x4fb80ae1L -DIDENT_UIDHASH=0x08a8b357L
-I/usr/include/python2.7 /opt/tinyos-2.1.1/tos/lib/tossim/tossim_wrap.cxx
-I/include/python2.7 -I/opt/tinyos-2.1.1/tos/lib/tossim -DHAVE_CONFIG_H
In file included from
/opt/tinyos-2.1.1/tos/lib/tossim/tossim_wrap.cxx:139:0:
/usr/include/python2.7/Python.h:7:24: fatal error: patchlevel.h: No such
file or directory
compilation terminated.
make: *** [sim-exe] Error 1
 i'll appreciate all kinds of help
Thanks in advance

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

Reply via email to