[Tinyos-help] compile error for micaz sim (T2)
venkatesh s
venkatesh.2012 at gmail.com
Wed Nov 29 05:45:41 PST 2006
Hi all,
I am using T2 under cygwin. I compiled the Blink application for TOSSIM.
But it gives a list of error at the end.
A part of it is below
------------------------------------------------------------------------------------------------------------
g++ -c -shared -fPIC -o build/micaz/c-support.o -g -O0 /opt/tinyos-2.x
/tos/lib
/tossim/hashtable.c -I/usr/include/python2.4 -I/opt/tinyos-2.x
/tos/lib/tossim
/opt/tinyos-2.x/tos/lib/tossim/hashtable.c:1: warning: -fPIC ignored for
target
(all code is position independent)
linking into shared object ./_TOSSIMmodule.so
g++ -shared -fPIC build/micaz/pytossim.o build/micaz/sim.o
build/micaz/tossim.o
build/micaz/c-support.o -lstdc++ -o _TOSSIMmodule.so
build/micaz/pytossim.o: In function `_Z21SWIG_Python_ErrorTypei':
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:809: undefined reference to
`__im
p__PyExc_MemoryError'
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:812: undefined reference to
`__im
p__PyExc_IOError'
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:815: undefined reference to
`__im
p__PyExc_RuntimeError'
-----------------------------------------------------------------------------------------------------
The module files are being generated, but its the problem of the python
tool. I am using python 2.4 version.
I got the same error when used Python 2.3 version also..
Can anyone Help me out??
Thanking you in advance..
--
with regards,
Venkatesh. S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061129/1094dfa0/attachment.htm
More information about the Tinyos-help
mailing list