help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem building octave-2.1.72 on a Mac


From: Joe Koski
Subject: Re: Problem building octave-2.1.72 on a Mac
Date: Wed, 16 Nov 2005 19:57:26 -0700
User-agent: Microsoft-Entourage/11.2.1.051004

To answer my own questions, to install octave-2.1.72 on a Mac with OS X
10.3.9, first, install the gcc2.95.2.pkg which I found in my
/Applications/Installers/Xcode Tools/Packages folder. This installs some
files into /usr/lib/gcc/darwin/2.95.2. Then

export LDFLAGS="-L/usr/lib -L/usr/lib/gcc/darwin/2.95.2 -lcc_dynamic"

Then 

./configure --enable-shared --disable-static

And make as usual.

Joe


on 11/16/05 1:17 PM, Joe Koski at address@hidden wrote:

> OK, I have located the "undefined symbols," and nm confirms they are indeed
> where Marius suggests in libcc_dynamic.a in /usr/lib/gcc/darwin/2.95.2
> (after I installed the gcc-2.95.2 SDK). My question is what is the cleanest,
> easiest way to add '-L/usr/lib/gcc/darwin/2.95.2 -lcc_dynamic' to my LDFLAGS
> during octave make?
> 
> Joe
> 
> on 11/15/05 7:05 PM, Marius Schamschula at address@hidden wrote:
> 
>> Joe,
>> 
>> You need to add
>> 
>> -L/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/2.95.2
>> -lcc_dynamic
>> 
>> to your LDFLAGS.
>> 
>> to prevent this under Mac OS X 10.3.9 and 10.4.x. It is scarry to see a
>> mention of gcc 2.95 under any flavor of Mac OS X...
>> 
>> BTW: what is -lg2c doing there?
>> 
>> On Nov 15, 2005, at 3:38 PM, Joe Koski wrote:
>> 
>>> I'm attempting to upgrade from octave-2.1.71 to 2.1.72. This is on a
>>> Mac
>>> with OS X 10.3.9, Xcode 1.5 and cctools-576 installed. This system
>>> successfully built octave-2.1.64, 2.1.69, and 2.1.71 in the past.
>>> 
>>> First I did the usual
>>> 
>>> $ FDLIBS=-lg2c ./configure --enable-shared --disable-static
>>> 
>>> and the configure phase completed without errors.
>>> 
>>> The, near the end of make I get the error:
>>> 
>>> ld: warning multiple definitions of symbol _xerbla_
>>> ../libcruft/libcruft.dylib(single module) definition of _xerbla_
>>> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/
>>> vecLib
>>> .framework/Versions/A/libBLAS.dylib(single module) definition of
>>> _xerbla_
>>> ld: Undefined symbols:
>>> restFP
>>> saveFP
>>> /usr/bin/libtool: internal link edit command failed
>>> make[2]: *** [liboctave.dylib] Error 1
>>> make[1]: *** [liboctave] Error 2
>>> make: *** [all] Error 2
>>> 
>>> The _xerbla_ warnings are par for the course, but where are restFP and
>>> saveFP supposed to be located?
>>> 
>>> Any suggestions will be greatly appreciated.
>>> 
>>> Joe
>> 
>> Marius
>> --
>> Marius Schamschula                               Webmaster
>> 
>>          The Huntsville Macintosh Users Group
>>                      www.hmug.org
>> 
>> webmaster at hmug dot org    marius at schamschula dot com
>> 
> 
> 
> 
> 
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
> 
> Octave's home on the web:  http://www.octave.org
> How to fund new projects:  http://www.octave.org/funding.html
> Subscription information:  http://www.octave.org/archive.html
> -------------------------------------------------------------
> 




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]