[SciPy-dev] scipy_iv.o" failed with exit status 1

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Nov 5 14:11:03 CST 2009


On Thu, 5 Nov 2009 18:18:29 +0000 (UTC)
  Pauli Virtanen <pav+sp@iki.fi> wrote:
> Thu, 05 Nov 2009 18:53:53 +0100, Nils Wagner wrote:
>> I cannot build scipy from svn.
> [clip]
>> scipy/special/cephes/scipy_iv.c:76: error: expected ")"
>> before "__extension__"
> [clip]
> 
> It's because the current npy_math.h includes <complex.h> 
>which defines 
> "I" as the imaginary unit. Fixing...
> 
> -- 
> Pauli Virtanen
> 
The next problem is

Warning: Unused variable 'deltatolepstol' declared at (1)
/usr/bin/gfortran -Wall -Wall -shared 
build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/sparse/linalg/isolve/iterative/_iterativemodule.o 
build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/fortranobject.o 
build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/sparse/linalg/isolve/iterative/STOPTEST2.o 
build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/sparse/linalg/isolve/iterative/getbreak.o 
build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/sparse/linalg/isolve/iterative/BiCGREVCOM.o 
build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/sparse/linalg/isolve/iterative/BiCGSTABREVCOM.o 
build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/sparse/linalg/isolve/iterative/CGREVCOM.o 
build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/sparse/linalg/isolve/iterative/CGSREVCOM.o 
build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/sparse/linalg/isolve/iterative/GMRESREVCOM.o 
build/temp.linux-x86_64-2.6/build/src.linux-x86_64-2.6/scipy/sparse/linalg/isolve/iterative/QMRREVCOM.o 
-L/home/nwagner/src/ATLAS3.8.2/mybuild/lib -L/usr/lib64 
-Lbuild/temp.linux-x86_64-2.6 -llapack -lptf77blas 
-lptcblas -latlas -lpython2.6 -lgfortran -o 
build/lib.linux-x86_64-2.6/scipy/sparse/linalg/isolve/_iterative.so
building 'scipy.sparse.linalg.dsolve._zsuperlu' extension
compiling C sources
C compiler: /usr/bin/gcc -fno-strict-aliasing -DNDEBUG 
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 
-fstack-protector -funwind-tables 
-fasynchronous-unwind-tables -g -fwrapv -fPIC

compile options: '-DATLAS_INFO="\"3.8.2\"" 
-DUSE_VENDOR_BLAS=1 -I/home/nwagner/src/ATLAS3.8.2/include 
-I/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include 
-I/usr/include/python2.6 -c'
gcc: scipy/sparse/linalg/dsolve/_zsuperlumodule.c
In file included from 
scipy/sparse/linalg/dsolve/_superluobject.h:8,
                  from 
scipy/sparse/linalg/dsolve/_zsuperlumodule.c:32:
scipy/sparse/linalg/dsolve/SuperLU/SRC/scomplex.h:19: 
error: two or more data types in declaration specifiers
scipy/sparse/linalg/dsolve/SuperLU/SRC/scomplex.h:19: 
warning: unnamed struct/union that defines no instances
In file included from 
scipy/sparse/linalg/dsolve/_superluobject.h:8,
                  from 
scipy/sparse/linalg/dsolve/_zsuperlumodule.c:32:
scipy/sparse/linalg/dsolve/SuperLU/SRC/scomplex.h:19: 
error: two or more data types in declaration specifiers
scipy/sparse/linalg/dsolve/SuperLU/SRC/scomplex.h:19: 
warning: unnamed struct/union that defines no instances
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 -fwrapv -fPIC 
-DATLAS_INFO="\"3.8.2\"" -DUSE_VENDOR_BLAS=1 
-I/home/nwagner/src/ATLAS3.8.2/include 
-I/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include 
-I/usr/include/python2.6 -c 
scipy/sparse/linalg/dsolve/_zsuperlumodule.c -o 
build/temp.linux-x86_64-2.6/scipy/sparse/linalg/dsolve/_zsuperlumodule.o" 
failed with exit status 1
  

Nils


More information about the Scipy-dev mailing list