hi please reply to tinyos community not to me. i am just 1 month experienced
there are many people who can help u. It seems u dont have python in ur
system or path for python is not configured please check either of these.
here are two links
http://www.singhvishwajeet.com/2009/09/16/solving-the-build-error-python-h-no-such-file-or-directory-on-ubuntu/
http://ubuntuforums.org/showthread.php?t=497109

Thanks
Avinash Kumar Chaurasia
Department of Computer Science
IIT Kanpur, India


On Mon, May 17, 2010 at 2:02 PM, praneeth goud <[email protected]> wrote:

> Hey ,
>                  I am getting this error when i am trying to execute make
> micaz sim. Any help. Thanks.
> mkdir -p build/micaz
>   placing object files in build/micaz
>   writing XML schema to app.xml
>   compiling BlinkAppC 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
> -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"root\"
> -DIDENT_HOSTNAME=\"praneeth-laptop\" -DIDENT_USERHASH=0x225b3324L
> -DIDENT_TIMESTAMP=0x4bf0fe83L -DIDENT_UIDHASH=0x01df4df5L
> -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 build/micaz/pytossim.o -g -O0
> -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"root\"
> -DIDENT_HOSTNAME=\"praneeth-laptop\" -DIDENT_USERHASH=0x225b3324L
> -DIDENT_TIMESTAMP=0x4bf0fe83L -DIDENT_UIDHASH=0x01df4df5L
> /opt/tinyos-2.0.2/tos/lib/tossim/tossim_wrap.cxx -I/usr/include/python2.5
> -I/opt/tinyos-2.0.2/tos/lib/tossim -DHAVE_CONFIG_H
> /opt/tinyos-2.0.2/tos/lib/tossim/tossim_wrap.cxx:26:20: error: Python.h: No
> such file or directory
> /opt/tinyos-2.0.2/tos/lib/tossim/tossim_wrap.cxx:296: error: ISO C++
> forbids declaration of ‘PyObject’ with no type
> /opt/tinyos-2.0.2/tos/lib/tossim/tossim_wrap.cxx:296: error: expected ‘;’
> before ‘*’ token
> /opt/tinyos-2.0.2/tos/lib/tossim/tossim_wrap.cxx:297: error: ‘PyObject’ has
> not been declared
> /opt/tinyos-2.0.2/tos/lib/tossim/tossim_wrap.cxx:302: error:
> ‘PyObject_HEAD’ does not name a type
> /opt/tinyos-2.0.2/tos/lib/tossim/tossim_wrap.cxx:306: error: expected
> initializer before ‘*’ token
> /opt/tinyos-2.0.2/tos/lib/tossim/tossim_wrap.cxx:313: error: ‘FILE’ has not
> been declared
> /opt/tinyos-2.0.2/tos/lib/tossim/tossim_wrap.cxx: In function ‘int
> swig_varlink_print(swig_varlinkobject*, int*, int)’:
> /opt/tinyos-2.0.2/tos/lib/tossim/tossim_wrap.cxx:316: error: ‘fprintf’ was
> not declared in this scope
> /opt/tinyos-2.0.2/tos/lib/tossim/tossim_wrap.cxx:317: error: ‘struct
> swig_varlinkobject’ has no member named ‘vars’
> /opt/tinyos-2.0.2/tos/lib/tossim/tossim_wrap.cxx: At global scope:
> /opt/tinyos-2.0.2/tos/lib/tossim/tossim_wrap.cxx:325: error: expected
> initializer before ‘*’ token
> /opt/tinyos-2.0.2/tos/lib/tossim/tossim_wrap.cxx:3496: error: expected ‘}’
> at end of input
> make: *** [sim-exe] Error 1
>
>
> On Sat, May 15, 2010 at 4:36 PM, avinash chaurasia <
> [email protected]> wrote:
>
>> did u install platforms micaz? I am not sure whats the problem.
>>
>> Thanks
>> Avinash Kumar Chaurasia
>> Department of Computer Science
>> IIT Kanpur, India
>>
>>
>> On Sat, May 15, 2010 at 11:18 AM, praneeth goud <[email protected]>wrote:
>>
>>> Yes it does but i find a some error like "there are no valid targets
>>> found" when i say "make micaz sim" or "make telos help" or any make command.
>>>
>>> Then i tried this "export Makerules = "ncc
>>> -print-tosdir"/../make/Makerules"
>>>
>>> for an instant it does the compile i mean the first few steps of
>>> compiling is done but then again it says not valid target.
>>>
>>> I think somethings wrong with my make.
>>>
>>> Can you help me with that??
>>>
>>> Thanks
>>>
>>> On Fri, May 14, 2010 at 11:49 AM, avinash chaurasia <
>>> [email protected]> wrote:
>>>
>>>> I think tossim comes with tinyos itself.
>>>> Thanks
>>>> Avinash Kumar Chaurasia
>>>> Department of Computer Science
>>>> IIT Kanpur, India
>>>>
>>>>
>>>> On Fri, May 14, 2010 at 10:16 AM, praneeth goud <[email protected]>wrote:
>>>>
>>>>> Hi,
>>>>>                   I have installed tinyos-2.0.2 and tinyos-2.1.0 in
>>>>> ubuntu 9.10. I need to install TOSSIM in these installations where do i 
>>>>> find
>>>>> the TOSSIM code and how do i install it.
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Tinyos-help mailing list
>>>>> [email protected]
>>>>>
>>>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>>>
>>>>
>>>>
>>>
>>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to