From: Hanno K. <kl...@ph...> - 2006-10-11 14:24:29
|
Hi, I don't know if this is a bug or just me doing something wrong (I suspect the latter). I try to compile numpy-1.0rc1 with python2.5 and atlas 3.7.17. I have build the atlas library myself, it doesn't give any errors under make test or make pttest, so it seems to be okay. if I try to build numpy I get the following error: creating build/temp.linux-x86_64-2.5/numpy/core/blasdot compile options: '-DATLAS_INFO="\"3.7.17\"" -Inumpy/core/blasdot -I/scratch/python2.5/include -Inumpy/core/include -Ibuild/src.linux-x86_64-2.5/numpy/core -Inumpy/core/src -Inumpy/core/include -I/scratch/python2.5/include/python2.5 -c' gcc: numpy/core/blasdot/_dotblas.c gcc -pthread -shared build/temp.linux-x86_64-2.5/numpy/core/blasdot/_dotblas.o -L/scratch/python2.5/lib -lcblas -latlas -o build/lib.linux-x86_64-2.5/numpy/core/_dotblas.so /usr/bin/ld: /scratch/python2.5/lib/libcblas.a(cblas_dgemm.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /scratch/python2.5/lib/libcblas.a: could not read symbols: Bad value collect2: ld returned 1 exit status /usr/bin/ld: /scratch/python2.5/lib/libcblas.a(cblas_dgemm.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC /scratch/python2.5/lib/libcblas.a: could not read symbols: Bad value collect2: ld returned 1 exit status error: Command "gcc -pthread -shared build/temp.linux-x86_64-2.5/numpy/core/blasdot/_dotblas.o -L/scratch/python2.5/lib -lcblas -latlas -o build/lib.linux-x86_64-2.5/numpy/core/_dotblas.so" failed with exit status 1 I then tried to recompile atlas with the configure options as: configure --cflags=-fPIC --with-netlib-lapack=/scratch/src/python_dist/LAPACK --prefix=/scratch/python2.5 but the error still remains. I'm on a 2 CPU Intel Xeon machine with gcc 3.2.3. Any hints? Hanno -- Hanno Klemm kl...@ph... |