[SciPy-user] Help compiling Scipy on Fedora Core 4

Richard Muller rmuller at sandia.gov
Thu Oct 6 12:34:58 CDT 2005


I get the following error when building Scipy. Can anyone suggest a 
workaround?

building 'scipy.stats.rand' extension
compiling C sources
gcc options: '-pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC'
compile options: '-I/usr/include/python2.4 -c'
gcc: Lib/stats/ranlib_all.c
In file included from /usr/include/python2.4/Python.h:8,
                  from Lib/stats/ranlib_all.c:4:
/usr/include/python2.4/pyconfig.h:835:1: warning: "_POSIX_C_SOURCE" 
redefined
In file included from /usr/include/stdio.h:28,
                  from Lib/stats/ranlib_all.c:2:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
Lib/stats/ranlib_all.c: In function ‘ignlgi’:
Lib/stats/ranlib_all.c:2149: error: invalid storage class for function 
‘inrgcm’
Lib/stats/ranlib_all.c: At top level:
Lib/stats/ranlib_all.c:2259: warning: conflicting types for ‘inrgcm’
Lib/stats/ranlib_all.c:2259: error: static declaration of ‘inrgcm’ 
follows non-static declaration
Lib/stats/ranlib_all.c:2158: error: previous implicit declaration of 
‘inrgcm’ was here
In file included from /usr/include/python2.4/Python.h:8,
                  from Lib/stats/ranlib_all.c:4:
/usr/include/python2.4/pyconfig.h:835:1: warning: "_POSIX_C_SOURCE" 
redefined
In file included from /usr/include/stdio.h:28,
                  from Lib/stats/ranlib_all.c:2:
/usr/include/features.h:150:1: warning: this is the location of the 
previous definition
Lib/stats/ranlib_all.c: In function ‘ignlgi’:
Lib/stats/ranlib_all.c:2149: error: invalid storage class for function 
‘inrgcm’
Lib/stats/ranlib_all.c: At top level:
Lib/stats/ranlib_all.c:2259: warning: conflicting types for ‘inrgcm’
Lib/stats/ranlib_all.c:2259: error: static declaration of ‘inrgcm’ 
follows non-static declaration
Lib/stats/ranlib_all.c:2158: error: previous implicit declaration of 
‘inrgcm’ was here
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386 -mtune=pentium4 
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC 
-I/usr/include/python2.4 -c Lib/stats/ranlib_all.c -o 
build/temp.linux-i686-2.4/Lib/stats/ranlib_all.o" failed with exit status 1



More information about the SciPy-user mailing list