Duplicate symbol ___gmpz_abs

Hans Aberg haberg at math.su.se
Fri Jan 29 20:38:44 CET 2010


On 29 Jan 2010, at 20:24, Jack Howarth 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?

>   Yes, use...
>
> CC=gcc-4.2 CXX=g++4.2 ./configure
>
> to build against the newer compilers from Xcode.

Thanks. Otherwise gmp-4.3.1 works.

   Hans




More information about the gmp-bugs mailing list