Bob Ippolito | 3 Nov 2003 23:44
Gravatar

Re: build error related to fblas.so on OSX


On Nov 3, 2003, at 5:34 PM, Christopher Fonnesbeck wrote:

> I am encountering a gcc error while trying to build either the latest  
> release or the CVS of scipy:
>
> gcc -Wl,-F. -Wl,-F. -bundle -framework Python  
> build/temp.darwin-7.0.0-Power_Macintosh-2.3/System/Library/Frameworks/ 
> Python.framework/Versions/2.3/lib/python2.3/site-packages/f2py2e/src/ 
> fortranobject.o  
> build/temp.darwin-7.0.0-Power_Macintosh-2.3/build/temp.darwin-7.0.0- 
> Power_Macintosh-2.3/fblasmodule.o -L/usr/local/lib  
> -Lbuild/temp.darwin-7.0.0-Power_Macintosh-2.3  
> -Lbuild/temp.darwin-7.0.0-Power_Macintosh-2.3  
> -L/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4 -L/usr/local/lib  
> -lfblas_f2py -llapack -lf77blas -lcblas -latlas -lc_misc -lcephes  
> -lrootfind -lg2c -o  
> build/lib.darwin-7.0.0-Power_Macintosh-2.3/scipy/linalg/fblas.so
> ld: Undefined symbols:
> restFP
> saveFP
> restVEC_vr10
> saveVEC_vr11
> error: command 'gcc' failed with exit status 1
>
> I am on OSX, using python2.3 and using the blas libraries that are  
> bundled with the OSX developer tools. Any insight as to how I might  
> get around these errors are most welcome.

I believe you need to add the -faltivec compiler flag.

-bob

Gmane