delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/15/16:24:08

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [66.167.121.135]
X-Originating-Email: [rkitover AT hotmail DOT com]
X-Sender: rkitover AT hotmail DOT com
From: "Rafael Kitover" <rkitover AT hotmail DOT com>
To: "'Cygwin List'" <cygwin AT cygwin DOT com>
Subject: RE: Python 2.3 Cygwin and SIP and PyQT
Date: Thu, 15 Jan 2004 13:23:07 -0800
MIME-Version: 1.0
In-Reply-To: <B06B8FEF47ACD7119E720040F4284591052B21@esrimail.gims.com>
Message-ID: <OE62z1Lz7ccDoXlFgFC000028fc@hotmail.com>
X-OriginalArrivalTime: 15 Jan 2004 21:23:17.0660 (UTC) FILETIME=[CAE905C0:01C3DBAD]

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 AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Hardy Jonck
>Sent: Thursday, January 15, 2004 2:34 AM
>To: 'cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019