[SciPy-User] SciPy build error

Johann Rohwer jr@sun.ac...
Wed Nov 18 04:53:06 CST 2009


I get the following build error for scipy (both numpy and scipy fresh 
from SVN today):

building 'scipy.special.lambertw' extension
compiling C sources
C compiler: gcc -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wformat -
Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-
protector --param=ssp-buffer-size=4 -g -fPIC

compile options: '-I/usr/lib64/python2.6/site-
packages/numpy/core/include -I/usr/lib64/python2.6/site-
packages/numpy/core/include -I/usr/include/python2.6 -c'
gcc: scipy/special/lambertw.c
scipy/special/lambertw.c: In function 
‘__pyx_f_5scipy_7special_8lambertw_zlog’:
scipy/special/lambertw.c:562: error: incompatible types when assigning 
to type ‘npy_cdouble’ from type ‘int’
scipy/special/lambertw.c: In function 
‘__pyx_f_5scipy_7special_8lambertw_zexp’:
scipy/special/lambertw.c:599: error: incompatible types when assigning 
to type ‘npy_cdouble’ from type ‘int’
scipy/special/lambertw.c: In function 
‘__pyx_f_5scipy_7special_8lambertw_zlog’:
scipy/special/lambertw.c:562: error: incompatible types when assigning 
to type ‘npy_cdouble’ from type ‘int’
scipy/special/lambertw.c: In function 
‘__pyx_f_5scipy_7special_8lambertw_zexp’:
scipy/special/lambertw.c:599: error: incompatible types when assigning 
to type ‘npy_cdouble’ from type ‘int’
error: Command "gcc -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -
Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -
fstack-protector --param=ssp-buffer-size=4 -g -fPIC -
I/usr/lib64/python2.6/site-packages/numpy/core/include -
I/usr/lib64/python2.6/site-packages/numpy/core/include -
I/usr/include/python2.6 -c scipy/special/lambertw.c -o 
build/temp.linux-x86_64-2.6/scipy/special/lambertw.o" failed with exit 
status 1

System: Linux x86_64
gcc version 4.4.1
Self compiled ATLAS 3.8.0 and LAPACK 3.1.1
(Numpy installs fine and passes all tests.)

Any ideas?
J.


More information about the SciPy-User mailing list