i have phython 2.7.2+ version

but when i do

make micaz sim on Blink application


iam getting error

mkdir -p simbuild/micaz
  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=\"jumbo\"
-DIDENT_HOSTNAME=\"Jamal\" -DIDENT_USERHASH=0x8f700b47L
-DIDENT_TIMESTAMP=0x513fee28L -DIDENT_UIDHASH=0x3468b940L
-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
/opt/tinyos-main/tos/lib/tossim/sim_noise.c: In function
‘sim_noise_gen’:
/opt/tinyos-main/tos/lib/tossim/sim_noise.c:291: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=\"BlinkAppC\" -DIDENT_USERNAME=\"jumbo\"
-DIDENT_HOSTNAME=\"Jamal\" -DIDENT_USERHASH=0x8f700b47L
-DIDENT_TIMESTAMP=0x513fee28L -DIDENT_UIDHASH=0x3468b940L
/opt/tinyos-main/tos/lib/tossim/tossim_wrap.cxx -I/usr/include/python2.7
-I/opt/tinyos-main/tos/lib/tossim -DHAVE_CONFIG_H 
/opt/tinyos-main/tos/lib/tossim/tossim_wrap.cxx:139:20: fatal error:
Python.h: No such file or directory
compilation terminated.
make: *** [sim-exe] Error 1


please provide me solution....

-------------------------------------------------------------------------------------------------------------------------------

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
-------------------------------------------------------------------------------------------------------------------------------

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

Reply via email to