[SciPy-dev] undefined symbol errors in scipy svn

Christopher Fonnesbeck chris at trichech.us
Thu Feb 2 21:37:43 EST 2006


I have been unable to build scipy from svn on OSX this week. I keep  
getting undefined symbol errors, but I am using the same compilers  
that I have always been using (gcc 3.3 and g77 3.4.4). Numpy builds  
fine.

/usr/local/bin/g77 -L/usr/local/lib build/temp.darwin-8.4.0- 
Power_Macintosh-2.4/build/src/Lib/fftpack/_fftpackmodule.o build/ 
temp.darwin-8.4.0-Power_Macintosh-2.4/Lib/fftpack/src/zfft.o build/ 
temp.darwin-8.4.0-Power_Macintosh-2.4/Lib/fftpack/src/drfft.o build/ 
temp.darwin-8.4.0-Power_Macintosh-2.4/Lib/fftpack/src/zrfft.o build/ 
temp.darwin-8.4.0-Power_Macintosh-2.4/Lib/fftpack/src/zfftnd.o build/ 
temp.darwin-8.4.0-Power_Macintosh-2.4/build/src/fortranobject.o -L/ 
usr/local/lib -L/usr/local/lib/gcc/powerpc-apple-darwin7.9.0/3.4.4 - 
Lbuild/temp.darwin-8.4.0-Power_Macintosh-2.4 -ldfftpack -lfftw3 -lg2c  
-lcc_dynamic -o build/lib.darwin-8.4.0-Power_Macintosh-2.4/scipy/ 
fftpack/_fftpack.so -lSystemStubs
/usr/bin/ld: Undefined symbols:
_PyArg_ParseTupleAndKeywords
_PyCObject_AsVoidPtr
_PyCObject_Type
_PyComplex_Type
_PyDict_SetItemString
_PyErr_Clear
_PyErr_Format
_PyErr_NewException
_PyErr_Occurred
_PyErr_SetString
_PyExc_RuntimeError
_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
_PyCObject_FromVoidPtr
_PyDict_DelItemString
_PyDict_GetItemString
_PyDict_New
_PyExc_AttributeError
_PyExc_TypeError
_PyExc_ValueError
_PyObject_Free
_PyObject_Str
_PyObject_Type
_PyString_AsString
_PyString_ConcatAndDel
_Py_FindMethod
__PyObject_New
_MAIN__
collect2: ld returned 1 exit status
/usr/bin/ld: Undefined symbols:
_PyArg_ParseTupleAndKeywords
_PyCObject_AsVoidPtr
_PyCObject_Type
_PyComplex_Type
_PyDict_SetItemString
_PyErr_Clear
_PyErr_Format
_PyErr_NewException
_PyErr_Occurred
_PyErr_SetString
_PyExc_RuntimeError
_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
_PyCObject_FromVoidPtr
_PyDict_DelItemString
_PyDict_GetItemString
_PyDict_New
_PyExc_AttributeError
_PyExc_TypeError
_PyExc_ValueError
_PyObject_Free
_PyObject_Str
_PyObject_Type
_PyString_AsString
_PyString_ConcatAndDel
_Py_FindMethod
__PyObject_New
_MAIN__
collect2: ld returned 1 exit status
error: Command "/usr/local/bin/g77 -L/usr/local/lib build/ 
temp.darwin-8.4.0-Power_Macintosh-2.4/build/src/Lib/fftpack/ 
_fftpackmodule.o build/temp.darwin-8.4.0-Power_Macintosh-2.4/Lib/ 
fftpack/src/zfft.o build/temp.darwin-8.4.0-Power_Macintosh-2.4/Lib/ 
fftpack/src/drfft.o build/temp.darwin-8.4.0-Power_Macintosh-2.4/Lib/ 
fftpack/src/zrfft.o build/temp.darwin-8.4.0-Power_Macintosh-2.4/Lib/ 
fftpack/src/zfftnd.o build/temp.darwin-8.4.0-Power_Macintosh-2.4/ 
build/src/fortranobject.o -L/usr/local/lib -L/usr/local/lib/gcc/ 
powerpc-apple-darwin7.9.0/3.4.4 -Lbuild/temp.darwin-8.4.0- 
Power_Macintosh-2.4 -ldfftpack -lfftw3 -lg2c -lcc_dynamic -o build/ 
lib.darwin-8.4.0-Power_Macintosh-2.4/scipy/fftpack/_fftpack.so - 
lSystemStubs" failed with exit status 1

--
Christopher J. Fonnesbeck

Population Ecologist, Marine Mammal Section
Fish & Wildlife Research Institute (FWC)
St. Petersburg, FL

Adjunct Assistant Professor
Warnell School of Forest Resources
University of Georgia
Athens, GA

T: 727.235.5570
E: chris at trichech.us


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20060202/f8155045/attachment.bin>


More information about the SciPy-Dev mailing list