[SciPy-user] Problems compiling SciPy in Cygwin

Crider, Joseph A joseph.a.crider at Boeing.com
Fri Jan 6 12:53:02 EST 2006


I have unsuccessfully been attempting to compile SciPy under Cygwin on a
Windows XP system, with the latest versions of all available programs
installed on Cygwin.

I have tried both SciPy 0.3.2 and the current version from subversion
and encounter similar problems although in different locations.  The
last messages when compiling SciPy 0.3.2 are as follows:

building 'scipy.stats.rand' extension
compiling C sources
gcc options: '-fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes'
compile options: '-I/usr/include/python2.4 -c'
gcc -shared -Wl,--enable-auto-image-base
build/temp.cygwin-1.5.18-i686-2.4/Lib/stats/randmodule.o
build/temp.cygwin-1.5.18-i686-2.4/Lib/stats/ranlib_all.o
-L/usr/lib/python2.4/config -Lbuild/temp.cygwin-1.5.18-i686-2.4
-lpython2.4 -o build/lib.cygwin-1.5.18-i686-2.4/scipy/stats/rand.dll
build/temp.cygwin-1.5.18-i686-2.4/Lib/stats/ranlib_all.o: In function
`ignpoi':
/cygdrive/c/Temp/Python/SciPy_complete-0.3.2/Lib/stats/ranlib_all.c:1254
: undefined reference to `_inrgcm'
collect2: ld returned 1 exit status
build/temp.cygwin-1.5.18-i686-2.4/Lib/stats/ranlib_all.o: In function
`ignpoi':
/cygdrive/c/Temp/Python/SciPy_complete-0.3.2/Lib/stats/ranlib_all.c:1254
: undefined reference to `_inrgcm'
collect2: ld returned 1 exit status

With the version from subversion I get a similar error while building
numpy.core.umath.  I did some testing that seemed to suggest that the
problem is the -O3 in the gcc options, but I was unable to figure out
how to change it.  Any suggestions?

J. Allen Crider
(256)461-2699


J. Allen Crider
(256)461-2699




More information about the SciPy-User mailing list