Problems install gmp 5.0.5 on Powermac Quad with OS X 10.5.8

Marc Glisse marc.glisse at inria.fr
Mon Oct 22 17:40:35 CEST 2012


On Sun, 21 Oct 2012, Christian Calderon wrote:

> The install failed during the make phase of the build. I configured as so:
>
> ./configure --prefix=/opt/gmp/5.0.5 --enable-cxx --enable-assert 
> --build=powerpc970-apple-darwin9.8.0
>
> The configure succeeded, so the next thing I did was:
>
> make
>
> During the make process lots of warnings came up about '__gnu_inline__' being 
> ignored.
>
> The last four lines were
>
> ld: duplicate symbol ___gmpz_abs in .libs/compat.o and .libs/assert.o
> collect2: ld returned 1 exit status
> make[2]: *** [libgmp.la] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

See http://gmplib.org/manual/Reporting-Bugs.html , we need more info.

> Is this because of the --enable-assert option?

Probably not, but the first thing to try before reporting a bug is to 
remove as many configure options as you can (start with no option at all).

-- 
Marc Glisse


More information about the gmp-bugs mailing list