On Feb 23, 2007, at 3:55 AM, Eva Maria Garcia wrote:
I've done what you tell me. I've tried the following options:
PLATFORM_LIB_FLAGS = -L/$(PYDIR)/config -lstdc++ -lpython$
(PYTHON_VERSION)
-L/bin
PLATFORM_LIB_FLAGS = -L/$(PYDIR)/config /bin -lstdc++
-lpython$(PYTHON_VERSION)
PLATFORM_LIB_FLAGS = -L/$(PYDIR)/config -L/bin -lstdc++
-lpython$(PYTHON_VERSION)
PLATFORM_LIB_FLAGS = -L/bin -lstdc++ -lpython$(PYTHON_VERSION)
The result is:
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//usr/include/python2.4/config -lstdc++ -lpython2.4 -L/bin -o
_TOSSIM.dll
...
...
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o):
(.text+0x
ab): undefined reference to [EMAIL PROTECTED]'
collect2: ld returned 1 exit status
make: *** [sim-exe] Error 1
The next are similar and the error is the same.
I'm lost.
Try adding the -shared flag?
Here is something I found on Google: http://curl.haxx.se/mail/
archive-2003-01/0056.html
This seems to come up for a small subset of Cygwin installations, I'm
not sure which ones.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help