[SciPy-user] fftpack fails on cvs build (OSX)

Christopher Fonnesbeck chris at fonnesbeck.org
Tue Feb 17 09:58:18 CST 2004


After updating from cvs and building, I get the following error:

gcc options: "-fno-strict-aliasing -Wno-long-double -no-cpp-precomp  
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall  
-Wstrict-prototypes -faltivec"
compile options: '-DSCIPY_FFTW_H -I/usr/local/include -Ibuild/src  
-I/System/Library/Frameworks/Python.framework/Versions/2.3/include/ 
python2.3 -c'
/usr/local/bin/g77  
build/temp.darwin-7.2.0-Power_Macintosh-2.3/build/src/Lib/fftpack/ 
_fftpackmodule.o  
build/temp.darwin-7.2.0-Power_Macintosh-2.3/Lib/fftpack/src/zfft.o  
build/temp.darwin-7.2.0-Power_Macintosh-2.3/Lib/fftpack/src/drfft.o  
build/temp.darwin-7.2.0-Power_Macintosh-2.3/Lib/fftpack/src/zrfft.o  
build/temp.darwin-7.2.0-Power_Macintosh-2.3/Lib/fftpack/src/zfftnd.o  
build/temp.darwin-7.2.0-Power_Macintosh-2.3/build/src/fortranobject.o  
-L/usr/local/lib -L/usr/local/lib/gcc/powerpc-apple-darwin7.0.0/3.4  
-Lbuild/temp.darwin-7.2.0-Power_Macintosh-2.3 -ldfftpack -lrfftw -lfftw  
-lg2c -o  
build/lib.darwin-7.2.0-Power_Macintosh-2.3/scipy/fftpack/_fftpack.so
/usr/bin/ld: Undefined symbols:
_PyArg_ParseTuple
_PyArg_ParseTupleAndKeywords
_PyCObject_AsVoidPtr
_PyCObject_Type
_PyComplex_Type
_PyDict_GetItemString
_PyDict_SetItemString
_PyErr_Clear
_PyErr_NewException
_PyErr_Occurred
_PyErr_Print
_PyErr_SetString
_PyImport_ImportModule
_PyInt_Type
_PyModule_GetDict
_PyNumber_Int
_PyObject_GetAttrString
_PySequence_Check
_PySequence_GetItem
_PyString_FromString
_PyString_Type
_PyType_IsSubtype
_PyType_Type
_Py_BuildValue
_Py_FatalError
_Py_InitModule4
__Py_NoneStruct
_PyDict_DelItemString
_PyDict_New
_PyErr_Format
_PyExc_AttributeError
_PyExc_RuntimeError
_PyExc_TypeError
_PyObject_Free
_PyString_ConcatAndDel
_Py_FindMethod
__PyObject_New
restFP
saveFP
_MAIN__
collect2: ld returned 1 exit status
error: Command "/usr/local/bin/g77  
build/temp.darwin-7.2.0-Power_Macintosh-2.3/build/src/Lib/fftpack/ 
_fftpackmodule.o  
build/temp.darwin-7.2.0-Power_Macintosh-2.3/Lib/fftpack/src/zfft.o  
build/temp.darwin-7.2.0-Power_Macintosh-2.3/Lib/fftpack/src/drfft.o  
build/temp.darwin-7.2.0-Power_Macintosh-2.3/Lib/fftpack/src/zrfft.o  
build/temp.darwin-7.2.0-Power_Macintosh-2.3/Lib/fftpack/src/zfftnd.o  
build/temp.darwin-7.2.0-Power_Macintosh-2.3/build/src/fortranobject.o  
-L/usr/local/lib -L/usr/local/lib/gcc/powerpc-apple-darwin7.0.0/3.4  
-Lbuild/temp.darwin-7.2.0-Power_Macintosh-2.3 -ldfftpack -lrfftw -lfftw  
-lg2c -o  
build/lib.darwin-7.2.0-Power_Macintosh-2.3/scipy/fftpack/_fftpack.so"  
failed with exit status 1

Not sure why -- worked fine before the update.

C.
--
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