public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Python 2.3 Cygwin and SIP and PyQT
@ 2004-01-15 10:44 Hardy Jonck
  2004-01-15 21:23 ` Rafael Kitover
  0 siblings, 1 reply; 4+ messages in thread
From: Hardy Jonck @ 2004-01-15 10:44 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

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


-----Original Message-----
From: Jason Tishler [mailto:jason@tishler.net]
Sent: 13 January 2004 21:17
To: Hardy Jonck
Cc: Cygwin
Subject: Re: Python 2.3 Cygwin and SIP and PyQT


Hardy,

Please post instead of sending private email.

On Tue, Jan 13, 2004 at 07:36:18AM +0200, Hardy Jonck wrote:
> Thanks a million for the python 2.3 cygwin package. 

You are quite welcome.

> I just downloaded SIP 3.7 from riverbank for X11 and can not get it to
> compile on cygwin. I have installed the QT for Cygwin from the KDE
> cygwin site. Have you had success in compiling SIP for cygwin and also
> PyQT?

I have never tried.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Python 2.3 Cygwin and SIP and PyQT
  2004-01-15 10:44 Python 2.3 Cygwin and SIP and PyQT Hardy Jonck
@ 2004-01-15 21:23 ` Rafael Kitover
  2004-01-15 22:31   ` Jason Tishler
  0 siblings, 1 reply; 4+ messages in thread
From: Rafael Kitover @ 2004-01-15 21:23 UTC (permalink / raw)
  To: 'Cygwin List'

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Python 2.3 Cygwin and SIP and PyQT
  2004-01-15 21:23 ` Rafael Kitover
@ 2004-01-15 22:31   ` Jason Tishler
  0 siblings, 0 replies; 4+ messages in thread
From: Jason Tishler @ 2004-01-15 22:31 UTC (permalink / raw)
  To: cygwin

Rafael,

On Thu, Jan 15, 2004 at 01:23:07PM -0800, Rafael Kitover wrote:
> Then add something like the following to the link command in your
> Makefile:
> 
> -L/lib/python2.3/config/ -lpython2.3.dll
                           ^^^^^^^^^^^^^^^

The above should be -lpython2.3 instead.

Nevertheless, I really appreciate you fielding this one.

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Python 2.3 Cygwin and SIP and PyQT
       [not found] <B06B8FEF47ACD7119E720040F4284591052B0F@esrimail.gims.com>
@ 2004-01-13 19:24 ` Jason Tishler
  0 siblings, 0 replies; 4+ messages in thread
From: Jason Tishler @ 2004-01-13 19:24 UTC (permalink / raw)
  To: Hardy Jonck; +Cc: Cygwin

Hardy,

Please post instead of sending private email.

On Tue, Jan 13, 2004 at 07:36:18AM +0200, Hardy Jonck wrote:
> Thanks a million for the python 2.3 cygwin package. 

You are quite welcome.

> I just downloaded SIP 3.7 from riverbank for X11 and can not get it to
> compile on cygwin. I have installed the QT for Cygwin from the KDE
> cygwin site. Have you had success in compiling SIP for cygwin and also
> PyQT?

I have never tried.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-01-15 22:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-15 10:44 Python 2.3 Cygwin and SIP and PyQT Hardy Jonck
2004-01-15 21:23 ` Rafael Kitover
2004-01-15 22:31   ` Jason Tishler
     [not found] <B06B8FEF47ACD7119E720040F4284591052B0F@esrimail.gims.com>
2004-01-13 19:24 ` Jason Tishler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).