[Tinyos-help] tossim problem: -lpython2.4 not found
Mohamed Ahmed
mohamed7ahmed at yahoo.com
Wed Dec 27 21:12:04 PST 2006
Hi,
Could anyone give me some hint on how to fix this problem?
When I run "OSTYPE-cygwin make micaz sim", I got the following error although
there exists a link in the sim files that contains python2.4.dll:
...
compiling Python support and C libraries into pytossim.o, tossim.o, and c-supp
ort.o
g++ -c -DUSE_DL_IMPORT -fpic -o build/micaz/pytossim.o -g -O0 /opt/tinyos-2.x/
tos/lib/tossim/tossim_wrap.cxx -I/lib/python2.4 -I/opt/tinyos-2.x/tos/lib/tossim
-DHAVE_CONFIG_H
/opt/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx:1: warning: -fpic ignored for tar
get (all code is position independent)
g++ -c -DUSE_DL_IMPORT -fpic -o build/micaz/tossim.o -g -O0 /opt/tinyos-2.x/to
s/lib/tossim/tossim.c -I/lib/python2.4 -I/opt/tinyos-2.x/tos/lib/tossim
/opt/tinyos-2.x/tos/lib/tossim/tossim.c:1: warning: -fpic ignored for target (al
l code is position independent)
g++ -c -DUSE_DL_IMPORT -fpic -o build/micaz/c-support.o -g -O0 /opt/tinyos-2.x
/tos/lib/tossim/hashtable.c -I/lib/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 ./_TOSSIM.dll
g++ -fpic -W1,--enabled-auto-image-base build/micaz/pytossim.o build/micaz/sim
.o build/micaz/tossim.o build/micaz/c-support.o -L//lib/python2.4/config -lstdc+
+ -lpython2.4 -o _TOSSIM.dll
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lpython2.4
collect2: ld returned 1 exit status
make: *** [sim-exe] Error 1
Thanks for your help.
Mohamed
__________________________________________________
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/20061227/5039cf9b/attachment.html
More information about the Tinyos-help
mailing list