[SciPy-dev] compilation bug

benjamin.sauthier at snecma.fr benjamin.sauthier at snecma.fr
Fri Mar 22 09:15:19 CST 2002


Hello,
I compile Scipy 0.1 on an SGI OCTANE with OS 6.5

I run setup.py install


1)-================================
when compiling f77 files there is a crash
there is a bug in the file build_flib.py
the "-03" option for the f77 compiler is incorrect it is in fact -O3.

2)=======================

compiling scipy.signal

the compiler crash

here is a part of the log file:

building 'mach' library
ar -cur  build/temp.irix64-6.5-2.0/libmach.a build/temp.irix64-6.5-2.0/d1mach.o build/temp.irix64-6.5-2.0/i1mach.o build/temp.irix64-6.5-2.0/r1mach.o
build/temp.irix64-6.5-2.0/xerror.o
running build_ext
skipping 'scipy.cluster._vq' extension (up-to-date)
skipping 'scipy.io.numpyio' extension (up-to-date)
skipping 'scipy.signal.sigtools' extension (up-to-date)
building 'scipy.signal.spline' extension
gcc -g -O2 -Wall -Wstrict-prototypes -shared -INumerical/Include -I/appl/ykl/aerothermique_externe/Applicatifs/Developpement/s086781/include/python2.0
 -c signal/splinemodule.c -o build/temp.irix64-6.5-2.0/signal/splinemodule.o
signal/splinemodule.c:20: warning: function declaration isn't a prototype
signal/splinemodule.c: In function `cspline2d':
signal/splinemodule.c:77: warning: implicit declaration of function `S_cubic_spline2D'
signal/splinemodule.c:81: warning: implicit declaration of function `D_cubic_spline2D'
signal/splinemodule.c:56: warning: `retval' might be used uninitialized in this function
signal/splinemodule.c: In function `qspline2d':
signal/splinemodule.c:137: warning: implicit declaration of function `S_quadratic_spline2D'
signal/splinemodule.c:141: warning: implicit declaration of function `D_quadratic_spline2D'
signal/splinemodule.c:114: warning: `retval' might be used uninitialized in this function
signal/splinemodule.c: In function `FIRsepsym2d':
signal/splinemodule.c:196: warning: implicit declaration of function `S_separable_2Dconvolve_mirror'
signal/splinemodule.c:204: warning: implicit declaration of function `D_separable_2Dconvolve_mirror'
signal/splinemodule.c:213: warning: implicit declaration of function `C_separable_2Dconvolve_mirror'
signal/splinemodule.c:221: warning: implicit declaration of function `Z_separable_2Dconvolve_mirror'
signal/splinemodule.c: In function `IIRsymorder1':
signal/splinemodule.c:308: warning: implicit declaration of function `S_IIR_forback1'
signal/splinemodule.c:319: warning: implicit declaration of function `D_IIR_forback1'
signal/splinemodule.c:330: warning: implicit declaration of function `C_IIR_forback1'
signal/splinemodule.c:332: Unable to access real part of complex value in a hard register on this target
error: command 'gcc' failed with exit status 1


3)===========================

when all is compiled (I got rid of signal and fft, maybe it's dumb)

if from pythhon prompt I want to import fastumath (Numeric 20.1.1)
import fastumath

ImportError: 4025998:python: rld: Fatal Error: unresolvable symbol in /usr/lib32/libfortran.so: __dshiftl4



If you see what is the problem ... I would appreciate some help. Thanks.

Sincerely

Ben
France




...


...



More information about the Scipy-dev mailing list