[Tinyos-help] Problem with tossim
Mohamed Ahmed
mohamed7ahmed at yahoo.com
Mon Dec 25 19:31:50 PST 2006
Hi,
After I run "make micaz sim", I got the following errors:
-------------------------------------------------------------------------------------------------------------------------
build/micaz/pytossim.o(.text+0x9a8):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:812: undefined reference to `__imp__PyExc_IOError'
build/micaz/pytossim.o(.text+0x9b4):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:815: undefined reference to `__imp__PyExc_RuntimeError'
build/micaz/pytossim.o(.text+0x9c0):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:818: undefined reference to `__imp__PyExc_IndexError'
build/micaz/pytossim.o(.text+0x9cc):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:821: undefined reference to `__imp__PyExc_TypeError'
build/micaz/pytossim.o(.text+0x9d8):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:824: undefined reference to `__imp__PyExc_ZeroDivisionError'
build/micaz/pytossim.o(.text+0x9e4):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:827: undefined reference to `__imp__PyExc_OverflowError'
build/micaz/pytossim.o(.text+0x9f0):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:830: undefined reference to `__imp__PyExc_SyntaxError'
build/micaz/pytossim.o(.text+0x9fc):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:833: undefined reference to `__imp__PyExc_ValueError'
build/micaz/pytossim.o(.text+0xa08):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:836: undefined reference to `__imp__PyExc_SystemError'
build/micaz/pytossim.o(.text+0xa14):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:839: undefined reference to `__imp__PyExc_AttributeError'
build/micaz/pytossim.o(.text+0xa20):/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.c
xx:842: undefined reference to `__imp__PyExc_RuntimeError'
-------------------------------------------------------------------------------------------------------------------------
By looking at the file "tossim_wrap.cxx", these "undefined" have different names,
such as "PyExc_IOError" instead of "__imp__PyExc_IOError".
Did anyone encounter this problem? If so, how was it solved?
Thanks,
Mohamed
Mohamed Ahmed <mohamed7ahmed at yahoo.com> wrote:
Date: Mon, 25 Dec 2006 12:30:11 -0800 (PST)
From: Mohamed Ahmed <mohamed7ahmed at yahoo.com>
Subject: Problem with tossim
To: mohamed7ahmed at yahoo.com
undefined reference to `_PyInstance_NewRaw'
undefined reference to `_PyDict_New'
undefined reference to `_PyDict_SetItem'
undefined reference to `_PyObject_GetAttrString'
undefined reference to `_PyDict_SetItem'
...
Can anyone help me how to solve it?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061225/bb64a876/attachment.html
More information about the Tinyos-help
mailing list