For the archives.
---------- Weitergeleitete Nachricht ----------
Subject: Re: Compiling Lapackpp on mac os x
Date: Samstag, 23. September 2006 10:59
From: "Fabio F." <fabio.franconeri@...>
To: Christian Stimming <stimming@...>
I finally managed to compile lapackpp 2.4.13 on Apple Darwin 8.7.0,
since it's been a lot of trouble to me I thought I'd post how I've
done it hoping it will be useful to others.
First you need to install g77 and gcc-4 from fink (gcc4 from apple
set FLIBS="-L/sw/lib/gcc4/lib/gcc/powerpc-apple-darwin8/4.0.2/ -L/sw/
lib -lm -lfrtbegin -lSystemStubs -lSystem -lmx /sw/lib/gcc4/lib/gcc/
and run the configure script in the following way
./configure --with-blas='-framework vecLib' --with-lapack="-framework
after that you can run make and make install
To use lapackpp on Xcode you will need to disable the "Allow
Zerolink" option (if enabled) under the build menu
then set "Other C++ flags" and "Other Linker flags" to have value "-L/
usr/local/lib -llapackpp". Last thing set the "Header search path" to
and you are all set.
let me know if you want the binaries.
Thanks again for your time,
On Sep 18, 2006, at 1:42 PM, Christian Stimming wrote:
> no, unfortunatly I have no idea how to help here. I would guess you
> should experiment with the ordering of the linker flags. Like,
> - -lg2c completely or putting it to the front or the end of the linker
> command in question, or trying to switch the linking order of the
> and g2c libraries (since those two are colliding here).
> Fabio Franconeri schrieb:
>> I'm a member of the VCG developing team on sourceforge
>> I'm really sorry to bother you with this but I can't really seem
>> to find
>> any help on this topic on the web.
>> I'm trying to compile Lapackpp on my apple Darwin woth G4 processor
>> I set FLIBS="-L/sw/lib -lfrtbegin -lg2c -lSystem" as adviced and
>> set LDFLAGS to point to Accelerate and VecLib frameworks
>> but the compiling process stops at some point with this error:
>> ld: warning multiple definitions of symbol _second_
>> .libs/liblapackpp.lax/libg2c.a/Lsecond.o private external
>> definition of
>> _second_ in section (__TEXT,__text)
>> module) definition of _second_
>> ld: Undefined symbols:
>> /usr/bin/libtool: internal link edit command failed
>> make: *** [liblapackpp.la] Error 1
>> make: *** [all-recursive] Error 1
>> make: *** [all] Error 2