[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile 1.9.14 & GIT version linking errror
From: |
Ludovic Courtès |
Subject: |
Re: Guile 1.9.14 & GIT version linking errror |
Date: |
Mon, 17 Jan 2011 23:31:31 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Hi!
Hans Aberg <address@hidden> writes:
> On 16 Jan 2011, at 11:18, Neil Jerram wrote:
>
>>>> ... when I try to install guile-1.9.14, I get the error below (Mac
>>>> OS X 10.5.8 PPC G4).
>>>>
>>>> ld: duplicate symbol ___gmpz_abs in .libs/libguile_2.0_la-arbiters.o
>>>> and .libs/libguile_2.0_la-alist.o
>>>
>>> And I get the same error when using GIT.
> ...
>> - understand why it is being _defined_ twice, as opposed to just
>> declared
>
> You have added the flag gcc -std=gnu99, which according to the gmp.h
> header in GCC 4.3 later implements ISO C99 inline semantics, unless -
> fgnu89-inline is used. When I took away that flag from the five
> occurrences in the Makefile in libguile/, then it compiled and
> installed.
That’s probably the problem that’s documented in libguile/inline.h (see
below).
> I have GCC 4.0.1.
No you don’t. This is Apple’s compiler, based on GCC, but with its own
inline semantics, and a behavior different from that of GCC.
Anyway you found a workaround, which is what matters. :-)
Thanks,
Ludo’.
- Re: Macro expansion, Hans Aberg, 2011/01/15
- Guile 1.9.14 & GIT version linking errror, Hans Aberg, 2011/01/16
- Re: Guile 1.9.14 & GIT version linking errror, Neil Jerram, 2011/01/16
- Re: Guile 1.9.14 & GIT version linking errror, Neil Jerram, 2011/01/16
- Re: Guile 1.9.14 & GIT version linking errror, Hans Aberg, 2011/01/16
- Re: Guile 1.9.14 & GIT version linking errror, Hans Aberg, 2011/01/16
- Re: Guile 1.9.14 & GIT version linking errror, Hans Aberg, 2011/01/16
- Re: Guile 1.9.14 & GIT version linking errror,
Ludovic Courtès <=
- Re: Guile 1.9.14 & GIT version linking errror, Andy Wingo, 2011/01/26