[SciPy-user] compile failure on OSX

Bob Ippolito bob at redivi.com
Fri Nov 14 16:28:00 EST 2003


Then your computer is very confused:
>> -L/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4
^^^ this is some 3.4 version of a GCC product compiled for 10.2.6 (I  
think, 6.8 is the latest jag-darwin).

This might be one of those ugly fink-isms(?).  Since it's -L, it comes  
on the search path before even /usr/lib, so you might be linking to the  
libSystem from some whack non-Apple version of GCC that is missing the  
FPU/Altivec helper functions that your gcc 3.3 compiler expects to see.

-bob

On Nov 14, 2003, at 4:14 PM, Christopher Fonnesbeck wrote:

> 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
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2357 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20031114/bbd1d035/attachment.bin>


More information about the SciPy-User mailing list