[SciPy-user] f2py error during scipy build on Linux

Christopher Fonnesbeck chris at fonnesbeck.org
Tue Dec 9 13:47:00 CST 2003

I get the following when building on RedHat Linux:

building 'scipy.xxx.spam' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall  
-Wstrict-prototypes -lcc
_dynamic -fPIC -I/usr/lib/python2.3/site-packages/f2py2e/src  
on2.3 -c /usr/lib/python2.3/site-packages/f2py2e/src/fortranobject.c -o  
/usr/lib/python2.3/site-packages/f2py2e/src/fortranobject.c: In  
function `array_
/usr/lib/python2.3/site-packages/f2py2e/src/fortranobject.c:591: parse  
error bef
ore `int'
`is_cont' undec
lared (first use in this function)
/usr/lib/python2.3/site-packages/f2py2e/src/fortranobject.c:597: (Each  
d identifier is reported only once
/usr/lib/python2.3/site-packages/f2py2e/src/fortranobject.c:597: for  
each functi
on it appears in.)
error: command 'gcc' failed with exit status 1

Not sure why this should be.
Christopher J. Fonnesbeck ( c h r i s @ f o n n e s b e c k . o r g )
Georgia Cooperative Fish & Wildlife Research Unit, University of Georgia

More information about the SciPy-user mailing list