Jérôme LELONG wrote:
> Hi,
>
> For a few days now, the version 3.1.2-1 of fftw3 has been available.
> Building the package requires gcc4.3. The compilation ends up with
> the following error
>
> gcc -std=gnu99 -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o
> .libs/libfftw3_threads.3.1.2.dylib .libs/api.o .libs/conf.o
> .libs/threads.o .libs/dft-vrank-geq1.o .libs/ct.o
> .libs/rdft-vrank-geq1.o .libs/hc2hc.o .libs/vrank-geq1-rdft2.o
> .libs/f77api.o -L/sw/lib -lm -malign-double -install_name
> /sw/lib/libfftw3_threads.3.dylib -Wl,-compatibility_version -Wl,5
> -Wl,-current_version -Wl,5.2
> /usr/bin/ld: unknown flag: -compatibility_version
>
>
> I have to build the package manually and it turrns out that to solve
> this problem, it is sufficient to replace the file ltmain.sh from the
> fftw3 source by the one given by the package libtool14 (installed in
> /sw/share/libtool). Without this modification the generated version of
> libtool is not compatible with gcc4.3 concerning the
> compatibility_version flag.
>
> Actually the same problem occurs with libksba8.
>
> What is the good way to solve this issue ? Thanks for any help.
> Jérôme.
>
>
libksba8 built fine for me, as did fftw3 (10.5.2) What OS version are
you on, anyway?
gcc43 in Fink doesn't install a "gcc" executable in the PATH to avoid
colliding with that from Xcode. In any case, gcc from Xcode and that
from gcc43 both appear to understand the -compatibility_version flag.
Since the compiler line is just calling "gcc" let's make sure that it's
doing the right thing. Can you provide the output from "which gcc" and
"gcc --version" ?
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users