Hi James,

This error occurs with micaz too.

@note:~/tinyos-main/apps/Blink$ make micaz sim
mkdir -p simbuild/micaz
make: python2.72-config: Comando não encontrado
make: python2.72-config: Comando não encontrado
make: python2.72-config: Comando não encontrado
  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=\"andre\"
-DIDENT_HOSTNAME=\"note\" -DIDENT_USERHASH=0xb00a83f3L
-DIDENT_TIMESTAMP=0x587d14ecL -DIDENT_UIDHASH=0xa32ed3f5L
-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
/home/andre/tinyos-main/tos/lib/tossim/sim_noise.c: In function
‘sim_noise_gen’:
/home/andre/tinyos-main/tos/lib/tossim/sim_noise.c:291:7: warning: variable
‘noiseIndex’ set but not used [-Wunused-but-set-variable]
   int noiseIndex = 0;
       ^
/home/andre/tinyos-main/tos/lib/tossim/SimMoteP.nc: At top level:
/home/andre/tinyos-main/tos/chips/atm128/sim/atm128hardware.h:101:3:
warning: ‘__nesc_disable_interrupt’ is static but used in inline function
‘__nesc_atomic_start’ which is not static
     __nesc_disable_interrupt();
   ^
  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=\"andre\"
-DIDENT_HOSTNAME=\"note\" -DIDENT_USERHASH=0xb00a83f3L
-DIDENT_TIMESTAMP=0x587d14ecL -DIDENT_UIDHASH=0xa32ed3f5L
/home/andre/tinyos-main/tos/lib/tossim/tossim_wrap.cxx -I/include/python2.72
-I/home/andre/tinyos-main/tos/lib/tossim -DHAVE_CONFIG_H 
/home/andre/tinyos-main/tos/lib/tossim/tossim_wrap.cxx:139:20: fatal error:
Python.h: Arquivo ou diretório não encontrado
compilation terminated.
*/home/andre/tinyos-main/support/make/sim.extra:66: recipe for target
'sim-exe' failed
make: *** [sim-exe] Error 1*

please if you know how to help me thank you.
I have to create a small topology with 3 sensors in TOSSIM, a sink and two
nodes in a row, but I am new to simulators and I could not even start
TOSSIM, as I do not know how to start this work.

Thank you very much in advance



--
View this message in context: 
http://tinyos-help.10906.n7.nabble.com/TinyOS-with-TOSSIM-tp25048p25050.html
Sent from the TinyOS - Help mailing list archive at Nabble.com.

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to