[Numpy-discussion] scipy cygwin compilation error

Jordan Dawe jdawe at u.washington.edu
Sat Nov 19 11:31:02 CST 2005


I just tried to install scipy under cygwin using both 0.61 and the 
current svn.  I get this:

gcc -shared -Wl,--enable-auto-image-base 
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o 
-L/usr/lib/python2.4/config -lpython2.4 -o 
build/lib.cygwin-1.5.18-i686-2.4/scipy/base/umath.dll
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `UBYTE_multiply':
/usr/local/core/build/src/scipy/base/src/umathmodule.c:2215: undefined 
reference to `_feraiseexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `USHORT_multiply':
/usr/local/core/build/src/scipy/base/src/umathmodule.c:2233: undefined 
reference to `_feraiseexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `UINT_multiply':
/usr/local/core/build/src/scipy/base/src/umathmodule.c:2251: undefined 
reference to `_feraiseexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `ULONG_multiply':
/usr/local/core/build/src/scipy/base/src/umathmodule.c:2269: undefined 
reference to `_feraiseexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `BYTE_multiply':
/usr/local/core/build/src/scipy/base/src/umathmodule.c:2305: undefined 
reference to `_feraiseexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o:/usr/local/core/build/src/scipy/base/src/umathmodule.c:2325: 
more undefined references to `_feraiseexcept' follow
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `PyUFunc_checkfperr':
/usr/local/core/scipy/base/src/ufuncobject.c:475: undefined reference to 
`_fetestexcept'
/usr/local/core/scipy/base/src/ufuncobject.c:475: undefined reference to 
`_feclearexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `PyUFunc_clearfperr':
/usr/local/core/scipy/base/src/ufuncobject.c:506: undefined reference to 
`_fetestexcept'
/usr/local/core/scipy/base/src/ufuncobject.c:506: undefined reference to 
`_feclearexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `PyUFunc_GenericFunction':
/usr/local/core/scipy/base/src/ufuncobject.c:506: undefined reference to 
`_fetestexcept'
/usr/local/core/scipy/base/src/ufuncobject.c:506: undefined reference to 
`_feclearexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `construct_reduce':
/usr/local/core/scipy/base/src/ufuncobject.c:506: undefined reference to 
`_fetestexcept'
/usr/local/core/scipy/base/src/ufuncobject.c:506: undefined reference to 
`_feclearexcept'
collect2: ld returned 1 exit status
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `UBYTE_multiply':
/usr/local/core/build/src/scipy/base/src/umathmodule.c:2215: undefined 
reference to `_feraiseexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `USHORT_multiply':
/usr/local/core/build/src/scipy/base/src/umathmodule.c:2233: undefined 
reference to `_feraiseexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `UINT_multiply':
/usr/local/core/build/src/scipy/base/src/umathmodule.c:2251: undefined 
reference to `_feraiseexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `ULONG_multiply':
/usr/local/core/build/src/scipy/base/src/umathmodule.c:2269: undefined 
reference to `_feraiseexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `BYTE_multiply':
/usr/local/core/build/src/scipy/base/src/umathmodule.c:2305: undefined 
reference to `_feraiseexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o:/usr/local/core/build/src/scipy/base/src/umathmodule.c:2325: 
more undefined references to `_feraiseexcept' follow
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `PyUFunc_checkfperr':
/usr/local/core/scipy/base/src/ufuncobject.c:475: undefined reference to 
`_fetestexcept'
/usr/local/core/scipy/base/src/ufuncobject.c:475: undefined reference to 
`_feclearexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `PyUFunc_clearfperr':
/usr/local/core/scipy/base/src/ufuncobject.c:506: undefined reference to 
`_fetestexcept'
/usr/local/core/scipy/base/src/ufuncobject.c:506: undefined reference to 
`_feclearexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `PyUFunc_GenericFunction':
/usr/local/core/scipy/base/src/ufuncobject.c:506: undefined reference to 
`_fetestexcept'
/usr/local/core/scipy/base/src/ufuncobject.c:506: undefined reference to 
`_feclearexcept'
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o: 
In function `construct_reduce':
/usr/local/core/scipy/base/src/ufuncobject.c:506: undefined reference to 
`_fetestexcept'
/usr/local/core/scipy/base/src/ufuncobject.c:506: undefined reference to 
`_feclearexcept'
collect2: ld returned 1 exit status
error: Command "gcc -shared -Wl,--enable-auto-image-base 
build/temp.cygwin-1.5.18-i686-2.4/build/src/scipy/base/src/umathmodule.o 
-L/usr/lib/python2.4/config -lpython2.4 -o 
build/lib.cygwin-1.5.18-i686-2.4/scipy/base/umath.dll" failed with exit 
status 1

Any suggestions?

Jordan




More information about the Numpy-discussion mailing list