[SciPy-user] compile failure on OSX

Christopher Fonnesbeck chris at fonnesbeck.org
Fri Nov 14 16:14:00 EST 2003


Not so ... I am using gcc that shipped with Panther, which is 3.3 it  
seems:

Goldeneye:~ chris$ gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)

On Nov 14, 2003, at 1:03 PM, Bob Ippolito wrote:

>
> On Nov 11, 2003, at 8:06 AM, Christopher Fonnesbeck wrote:
>
>> I now have wxPython working on OSX 10.3, but the scipy build still  
>> fails. Here is the error:
>>
>> gcc -Wl,-F. -Wl,-F. -bundle -framework Python -faltivec  
>> 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
>>
>> notice I have the -faltivec flag included, but still the undefined  
>> symbols. Any ideas?
>
> You seem to be using gcc 3.4, not Apple's GCC 3.3 .. I have no idea  
> how that acts, but that's definitely at least part of your problem.   
> I'm relatively sure restFP/etc are part of libc in Apple's  
> distribution of GCC 3.3.
>
> -bob_______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
>
--
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