Duplicate symbol ___gmpz_abs

Jack Howarth howarth at bromo.med.uc.edu
Fri Jan 29 20:24:03 CET 2010


On Fri, Jan 29, 2010 at 06:55:45PM +0100, Hans Aberg wrote:
> On Mac OS X 10.5.8 PPC G4, a simple install './configure && make' of  
> both gmp-4.3.2 & gmp-5.0.0 gave the following error:
>   ld: duplicate symbol ___gmpz_abs in .libs/compat.o and .libs/assert.o
>
> What is the workaround?
>
>   Hans
>
>
> _______________________________________________
> gmp-bugs mailing list
> gmp-bugs at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-bugs

Hans,
   Yes, use...

CC=gcc-4.2 CXX=g++4.2 ./configure

to build against the newer compilers from Xcode.
          Jack


More information about the gmp-bugs mailing list