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

Bob Ippolito bob at redivi.com
Tue Feb 17 10:09:40 CST 2004


On Feb 17, 2004, at 9:58 AM, Christopher Fonnesbeck wrote:

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

Extensions need to link to Python (-framework Python).

-bob



More information about the SciPy-user mailing list