Hi! Hans Aberg <[email protected]> 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’.
