Hi,
I am Pranay Sharma, MTech Student. I am currently trying to install
tinyos, on ubuntu i followed the steps given at,
http://docs.tinyos.net/index.php/Getting_started_using_Ubuntu_9.10_and_TelosB_motes#Installing_TinyOS_2.1_on_Ubuntu_9.10
and
http://docs.tinyos.net/index.php/Installing_TinyOS_2.1.1#Two-step_install_on_your_host_OS_with_Debian_packages
But problem is whenever i type;
make micaz sim
inside Blink application. It shows error(PFA Er.txt). Can you tell me
where did i do wrong? I have this implementation to be done but I am not
able to proceed due to this error. I tried on both 2.1.0 and 2.1.1 but
both of them are giving this error. When i try installing python2.5-dev it
shows error in dependency on
Distributor ID: Ubuntu
Description: Ubuntu 10.04.2 LTS
Release: 10.04
Codename: lucid
Please provide a solution to this problem.
Thanking You.
Regards,
Pranay Sharma.
asmodeus@ubuntu:/opt/tinyos-2.1.1/apps/Blink$ make micaz sim
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\(\)
-Wall -Wshadow -Wnesc-all -target=micaz -fnesc-cfile=simbuild/micaz/app.c
-board=micasb -DDEFINED_TOS_AM_GROUP=0x22 -finline-limit=100000
-DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"asmodeus\"
-DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x73fa5c71L
-DIDENT_TIMESTAMP=0x4da549b1L -DIDENT_UIDHASH=0x80e2775cL -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
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=\"asmodeus\"
-DIDENT_HOSTNAME=\"ubuntu\" -DIDENT_USERHASH=0x73fa5c71L
-DIDENT_TIMESTAMP=0x4da549b1L -DIDENT_UIDHASH=0x80e2775cL
/opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx -I/usr/include/python2.5
-I/opt/tinyos-2.1.0/tos/lib/tossim -DHAVE_CONFIG_H
/opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:26:20: error: Python.h: No
such file or directory
/opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:296: error: ISO C++ forbids
declaration of âPyObjectâ with no type
/opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:296: error: expected â;â
before â*â token
/opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:297: error: âPyObjectâ has
not been declared
/opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:302: error:
âPyObject_HEADâ does not name a type
/opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:306: error: expected
initializer before â*â token
/opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:313: error: âFILEâ has not
been declared
/opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx: In function âint
swig_varlink_print(swig_varlinkobject*, int*, int)â:
/opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:316: error: âfprintfâ was
not declared in this scope
/opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:317: error: âstruct
swig_varlinkobjectâ has no member named âvarsâ
/opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx: At global scope:
/opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:325: error: expected
initializer before â*â token
/opt/tinyos-2.1.0/tos/lib/tossim/tossim_wrap.cxx:3496: error: expected â}â
at end of input
make: *** [sim-exe] Error 1
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help