On 12/8/06, Travis Oliphant <[EMAIL PROTECTED]> wrote:
Wei wrote: > > Hi, > > I just got my new intel core duo laptop. So I downloaded the new > cygwin (including everything) but couldn't get the numarray or numpy > modules installed correctly. I always got the following error. Can > some one help? > > Many thanks! > > Wei > > python setup.py install > > Using EXTRA_COMPILE_ARGS = [] > > Using builtin 'lite' BLAS and LAPACK > > running config > > Wrote config.h > > running install > > running build > > running build_py > > copying Lib/numinclude.py -> build/lib.cygwin-1.5.22-i686-2.4/numarray > > running build_ext > > building 'numarray.libnumarray' extension > > gcc -shared -Wl,--enable-auto-image-base > build/temp.cygwin-1.5.22-i686-2.4/Src/libnumarraymodule.o > -L/usr/lib/python2.4/config -lpython2.4 -o > build/lib.cygwin-1.5.22-i686-2.4/numarray/libnumarray.dll -lm -L/lib > -lm -lc -lgcc -L/lib/mingw -lmingwex > > /lib/mingw/libmingwex.a(feclearexcept.o):feclearexcept.c:(.text+0x21): > undefined reference to `___cpu_features' > > /lib/mingw/libmingwex.a(fetestexcept.o):fetestexcept.c:(.text+0x7): > undefined reference to `___cpu_features' > > collect2: ld returned 1 exit status > > error: command 'gcc' failed with exit status 1 >
Looks almost like a mix of mingw and cygwin. The two aren't compatible, so I wonder if the python you have was compiled with cygwin or with vc. If the latter, mingw is the proper compiler to use. Chuck
_______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
