[SciPy-Dev] Cannot build scipy from trunk

Nils Wagner nwagner@iam.uni-stuttgart...
Tue Jan 31 13:16:30 CST 2012


scipy/special/_cephesmodule.c: In function 
‘scipy_special_raise_warning’:
scipy/special/_cephesmodule.c:1055:5: error: expected ‘=’, 
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’
scipy/special/_cephesmodule.c:1062:5: error: ‘__save__’ 
undeclared (first use in this function)
scipy/special/_cephesmodule.c:1062:5: note: each 
undeclared identifier is reported only once for each 
function it appears in
scipy/special/_cephesmodule.c:1063:5: error: expected ‘;’ 
before ‘PyErr_WarnEx’
scipy/special/_cephesmodule.c:1065:1: error: expected ‘;’ 
before ‘}’ token
scipy/special/_cephesmodule.c:1076:18: error: invalid 
storage class for function ‘errprint_func’
scipy/special/_cephesmodule.c:1091:3: error: initializer 
element is not constant
scipy/special/_cephesmodule.c:1091:3: error: (near 
initialization for ‘methods[0].ml_meth’)
scipy/special/_cephesmodule.c:1177:1: error: expected 
declaration or statement at end of input
In file included from 
/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1972:0,
                  from 
/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
                  from 
/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include/numpy/arrayobject.h:14,
                  from scipy/special/_cephesmodule.c:12:
/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: 
warning: #warning "Using deprecated NumPy API, disable it 
by #defining NPY_NO_DEPRECATED_API"
scipy/special/_cephesmodule.c: In function 
‘scipy_special_raise_warning’:
scipy/special/_cephesmodule.c:1055:5: error: expected ‘=’, 
‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’
scipy/special/_cephesmodule.c:1062:5: error: ‘__save__’ 
undeclared (first use in this function)
scipy/special/_cephesmodule.c:1062:5: note: each 
undeclared identifier is reported only once for each 
function it appears in
scipy/special/_cephesmodule.c:1063:5: error: expected ‘;’ 
before ‘PyErr_WarnEx’
scipy/special/_cephesmodule.c:1065:1: error: expected ‘;’ 
before ‘}’ token
scipy/special/_cephesmodule.c:1076:18: error: invalid 
storage class for function ‘errprint_func’
scipy/special/_cephesmodule.c:1091:3: error: initializer 
element is not constant
scipy/special/_cephesmodule.c:1091:3: error: (near 
initialization for ‘methods[0].ml_meth’)
scipy/special/_cephesmodule.c:1177:1: error: expected 
declaration or statement at end of input
error: Command "/usr/bin/gcc -fno-strict-aliasing -DNDEBUG 
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 
-fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -g -fPIC 
-I/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include 
-I/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include 
-I/usr/include/python2.6 -c scipy/special/_cephesmodule.c 
-o 
build/temp.linux-x86_64-2.6/scipy/special/_cephesmodule.o" 
failed with exit status 1


More information about the SciPy-Dev mailing list