A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/100760.html below:

Building Numeric package on Cygwin-Python

Building Numeric package on Cygwin-PythonMark Hadfield m.hadfield at niwa.cri.nz
Thu Apr 26 21:53:16 EDT 2001
Has anyone built Numeric Python (or any other package containing C
extensions) with the Cygwin version of Python?

I tried building Numeric 20.0b2 with Cygwin Python 2.1, using the
distutils-based setup script. The compilation worked OK (with a few
warnings) but the linking failed with:

gcc -shared -Wl,--enable-auto-image-base
build/temp.cygwin_nt-5.0-1.3.1-i686-2.1
/_numpymodule.o build/temp.cygwin_nt-5.0-1.3.1-i686-2.1/arrayobject.o
build/temp
.cygwin_nt-5.0-1.3.1-i686-2.1/ufuncobject.o -L/usr/lib/python2.1/config -lpy
thon
2.1 -o build/lib.cygwin_nt-5.0-1.3.1-i686-2.1/_numpy.dll
Cannot export _bss_end__: symbol not defined
Cannot export _bss_start__: symbol not defined
Cannot export _data_end__: symbol not defined
Cannot export _data_start__: symbol not defined
collect2: ld returned 1 exit status

The only problem I could see in the linker command line is that
/usr/lib/python2.1/config does not contain libpython2.1.a, but it does
contain libpython2.1.dll.a, so I made a copy of the latter and renamed it to
the former. This still didn't fix it. I don't know what to look at next.

---
Mark Hadfield
m.hadfield at niwa.cri.nz  http://katipo.niwa.cri.nz/~hadfield
National Institute for Water and Atmospheric Research


-- 
Posted from clam.niwa.cri.nz [202.36.29.1] 
via Mailgate.ORG Server - http://www.Mailgate.ORG

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4