[SciPy-Dev] Compilation problem on CentOS release 5.6

Raphael Leplae raphael.leplae@ulb.ac...
Tue Oct 4 08:09:20 CDT 2011


Dear all,

I am having troubles with the compilation of SciPy version 0.10.0b2 on 
CentOS 5.6.
Here is the info:
Kernel 2.6.18-238.9.1.el5 x86_64
Python 2.7.2
GCC 4.6.1
ATLAS 3.8.3 (rpm install with yum)
NumPy 1.6.1 (compiled, tested and installed successfully)

Defined in the shell:
export BLAS=/usr/lib64/atlas/libcblas.so
export ATLAS=/usr/lib64/atlas/libatlas.so
export LAPACK=/usr/lib64/atlas/liblapack.so

File site.cfg:
[DEFAULT]
libraries = gfortran, gfortranbegin
library_dirs = /usr/local/lib:/usr/local/opt/gcc/4.6.1/lib

When issuing the command:
python setup.py build
I get a big list of warnings and then error messages. The whole log is 
in attachment.

After the line:
gcc: build/src.linux-x86_64-2.7/scipy/fftpack/_fftpackmodule.c

Error messages like this start to show up:
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/scipy/fftpack/_fftpackmodule.o: 
In function `f2py_rout__fftpack_destroy_dct1_cache':
/software/CC/local/src/python/Libraries/scipy-0.10.0b2/build/src.linux-x86_64-2.7/scipy/fftpack/_fftpackmodule.c:2532: 
undefined reference to `PyArg_ParseTupleAndK
eywords'
/software/CC/local/src/python/Libraries/scipy-0.10.0b2/build/src.linux-x86_64-2.7/scipy/fftpack/_fftpackmodule.c:2543: 
undefined reference to `PyErr_Occurred'
/software/CC/local/src/python/Libraries/scipy-0.10.0b2/build/src.linux-x86_64-2.7/scipy/fftpack/_fftpackmodule.c:2553: 
undefined reference to `Py_BuildValue'
build/temp.linux-x86_64-2.7/build/src.linux-x86_64-2.7/scipy/fftpack/_fftpackmodule.o: 
In function `f2py_rout__fftpack_destroy_dct2_cache':
/software/CC/local/src/python/Libraries/scipy-0.10.0b2/build/src.linux-x86_64-2.7/scipy/fftpack/_fftpackmodule.c:2471: 
undefined reference to `PyArg_ParseTupleAndK
eywords'

Someone knows why those "undefined reference" errors are showing up?

Thanks in advance for your help.

Raphael

-- 
___________________________________________________________

Raphael Leplae, Ph.D.
Operations manager             Tel: +32 2 650 3727
Computing Center               Fax: +32 2 650 3740
ULB/VUB
Avenue A. Buyl, 91 - CP 197
1050 Brussels
Belgium
___________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: text/x-log
Size: 382198 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/scipy-dev/attachments/20111004/02c94634/attachment-0001.bin 


More information about the SciPy-Dev mailing list