| delorie.com/archives/browse.cgi | search |
| 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 15:10:42 +0100 |
| MIME-Version: | 1.0 |
| Subject: | Building Python-2.1b1 problems |
| Reply-to: | gerrit AT familiehaase DOT de |
| Message-ID: | <3AAE3872.14697.3EB4426D@localhost> |
| X-mailer: | Pegasus Mail for Win32 (v3.12cDE) |
Hi cygwinners, for me all the extensions did not built. e.g.: 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 -lpython2.1 -o build/lib.cygwin_nt-4.0- 1.1.8-i586-2.1/fpectl.dll build/temp.cygwin_nt-4.0-1.1.8-i586-2.1/fpectlmodule.o(.text+0x35): undefined reference to `_Py_NoneStruct' build/temp.cygwin_nt-4.0-1.1.8-i586-2.1/fpectlmodule.o(.text+0x3c): undefined reference to `_Py_NoneStruct' build/temp.cygwin_nt-4.0-1.1.8-i586-2.1/fpectlmodule.o(.text+0x9e): undefined reference to `_Py_NoneStruct' build/temp.cygwin_nt-4.0-1.1.8-i586-2.1/fpectlmodule.o(.text+0xa5): undefined reference to `_Py_NoneStruct' collect2: ld returned 1 exit status WARNING: building of extension "fpectl" failed: command 'gcc' failed with exit status 1 Now i played around and i figured out, that -lpython2.1 is not recognized. I changed it to /src/Python-2.1.b1/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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |