Movatterモバイル変換
[0]ホーム
Building Numeric package on Cygwin-Python
Mark Hadfieldm.hadfield at niwa.cri.nz
Thu Apr 26 21:53:16 EDT 2001
Has anyone built Numeric Python (or any other package containing Cextensions) with the Cygwin version of Python?I tried building Numeric 20.0b2 with Cygwin Python 2.1, using thedistutils-based setup script. The compilation worked OK (with a fewwarnings) but the linking failed with:gcc -shared -Wl,--enable-auto-image-basebuild/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.obuild/temp.cygwin_nt-5.0-1.3.1-i686-2.1/ufuncobject.o -L/usr/lib/python2.1/config -lpython2.1 -o build/lib.cygwin_nt-5.0-1.3.1-i686-2.1/_numpy.dllCannot export _bss_end__: symbol not definedCannot export _bss_start__: symbol not definedCannot export _data_end__: symbol not definedCannot export _data_start__: symbol not definedcollect2: ld returned 1 exit statusThe 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 doescontain libpython2.1.dll.a, so I made a copy of the latter and renamed it tothe former. This still didn't fix it. I don't know what to look at next.---Mark Hadfieldm.hadfield at niwa.cri.nzhttp://katipo.niwa.cri.nz/~hadfieldNational 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-listmailing list
[8]ページ先頭