Python 2.3 Cygwin and SIP and PyQT
Rafael Kitover
rkitover@hotmail.com
Thu Jan 15 21:23:00 GMT 2004
Those files would be in the Python library, see if you have a file such as:
/lib/python2.3/config/libpython2.3.dll.a
Then add something like the following to the link command in your Makefile:
-L/lib/python2.3/config/ -lpython2.3.dll
Also check ./configure --help, there might an option like --with-python-lib=whatever,
Running ./configure LDFLAGS="-L/lib/python2.3/config/ -lpython2.3.dll" might also do it.
Btw, to search for undefined references to symbols, you can do stuff like:
nm -A /lib/python2.3/config/libpython2.3.dll.a | grep PyInt_FromLong
Sometimes even nm -A /lib/* | grep -i foo can help when trying to get something to build.
HTH
>-----Original Message-----
>From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Hardy Jonck
>Sent: Thursday, January 15, 2004 2:34 AM
>To: 'cygwin@cygwin.com'
>Subject: RE: Python 2.3 Cygwin and SIP and PyQT
>
>Hi All,
>
>I am still on my sip compile spree, and need some help with the following
>when running 'make':
>
>siplib.o(.text+0x3b8e):siplib.c: undefined reference to `_PyInt_FromLong'
>siplib.o(.text+0x3be5):siplib.c: undefined reference to `_PyInt_AsLong'
>Info: resolving _qApp by linking to __imp__qApp (auto-import)
>collect2: ld returned 1 exit status
>make: *** [/usr/local/lib/python2.3/site-packages/cygsip-10.dll] Error 1
>
>
>++++++++++++++++++++
>
>
>Can someone please point me in the right direction as to what I might be
>missing.
>
>Sincerely
>Hardy Jonck
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list