[Top][All Lists]

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

Re: Guile 1.9.14 & GIT version linking errror

From: Hans Aberg
Subject: Re: Guile 1.9.14 & GIT version linking errror
Date: Sun, 16 Jan 2011 15:32:58 +0100

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

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.

I have GCC 4.0.1. So for some reason, on this compiler, the flag seems causing the GMP inline functions to be added as ordinary functions, causing the linking problem between the copies.

reply via email to

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