Re: libgmp missing ?
Manuel Bouyer <bouyer <at> antioche.eu.org>
2011-08-24 22:08:33 GMT
On Thu, Aug 25, 2011 at 07:30:51AM +1000, matthew green wrote:
> > hello,
> > running a build.sh targetting i386 on a current mips64 platform (evbmips),
> > I ended up with:
> > checking whether gcc __attribute__ ((mode (XX))) works... yes
> > checking for recent GMP... yes
> > checking for __gmpz_init in -lgmp... no
> > configure: error: libgmp not found or uses a different ABI.
> > Please read the INSTALL file -- see "In case of problem".
> > *** [.configure_done] Error code 1
> > it looks like there's no libgmp on evbmips64 (neither o32, n32 or n64).
> > Is it expected ?
> probably similar to the macosx build issues others have seen. can
> you see what default ABI gmp is building (src/tools/gmp), and then
> see what difference it has to mpfr (src/tools/mpfr).
In the build output I remember seeing ./configure selecting o32.
But I didn't notice for which part of the build this was.
version.o: ELF 32-bit LSB relocatable, MIPS, MIPS-I version 1 (SYSV), with unknown capability 0xf41 =
0x756e6700, with unknown capability 0x70100 = 0x3040000, not stripped
mpfr config.log has:
configure:13596: cc -o conftest -O -I/home/bouyer/tmp/i386/obj/home/bouyer/curr
ldir/lib conftest.c -lgmp >&5