delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/13/10:45:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
Organization: convey Information Systems GmbH
To: cygwin AT cygwin DOT com
Date: Tue, 13 Mar 2001 16:37:22 +0100
MIME-Version: 1.0
Subject: Re: python 2.0, cygwin & readline - undefined symbols
Reply-to: gerrit AT familiehaase DOT de
CC: Jason Tishler <Jason DOT Tishler AT dothill DOT com>
Message-ID: <3AAE4CC2.31066.3F039A9A@localhost>
In-reply-to: <20010313095520.B258@dothill.com>
References: <3AADEA07 DOT 2991 DOT 89DA21B AT localhost>; from gerrit DOT haase AT t-online DOT de on Tue, Mar 13, 2001 at 09:36:07AM +0100
X-mailer: Pegasus Mail for Win32 (v3.12cDE)

<2001-03-13 9:55 Uhr, hat Jason Tishler geschrieben:>
< Re: python 2.0, cygwin & readline - >

Jason,

excuse me for sending you PM, but my last mail an hour ago seemed not
to arrive the list.

> The following is my output for fpectl:
> 
> building 'fpectl' extension
> gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT -I. -I/home/jt/src/PythonCvs/./Include -IInclude/ -I/usr/local/include -c /home/jt/src/PythonCvs/Modules/fpectlmodule.c -o build/temp.cygwin_nt-4.0-1.3.0-i686-2.1/fpectlmodule.o
> gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin_nt-4.0-1.3.0-i686-2.1/fpectlmodule.o -L. -L/usr/local/lib -lpython2.1 -o build/lib.cygwin_nt-4.0-1.3.0-i686-2.1/fpectl.dll
> 
> If you manually build as above, does this (temporarily) workaround
> your problem?

Yes, i did so, but my mail got lost it seems.

Here again my lost lines. (Still some flags are wrong, but it builds.):

Now i played around and i figured out, that -lpython2.1 is not recognized.

I changed it to /src/Python-2.1b1/libpython2.1.dll and it works.

administrator AT ISMENE /src/Python-2.1b1
$ gcc -shared -Wl,--enable-auto-image-base build/temp.cygwin_nt-4.0-1.1.8-i586-
2.1/fpectlmodule.o -L. -L/usr/local/lib /src/Python-2.1b1/libpython2.1.dll -o 
build/lib.cygwin_nt-4.0-1.1.8-i586-2.1/fpectl.dll

administrator AT ISMENE /src/Python-2.1b1
$

What should i say? I don't know why this is so (see -L.), but now i got my 
extensions, after building by hand.

Ciao,

Gerrit

-- 
haase AT convey DOT de
KeyID: 0xC8C9D69A = 57C8 1B1D CFE4 8515 AA3E  4499 A326 0F3C C8C9 D69A

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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