gmp-5.0.2 installation in Solaris 10

Marc Glisse marc.glisse at
Thu Sep 15 09:03:48 CEST 2011

On Wed, 14 Sep 2011, WEY, CHERN L wrote:

> I am providing the complete errors I got while installing GMP 5.0.2 on Solaris10/Sparc and running 'make check'.

Ah, now it makes much more sense...

> t-bswap: fatal: /usr/sfw/lib/ wrong ELF class: ELFCLASS32

You can look through the archives for details. I guess your Solaris is not 
up to date with patches (Sun was supposed to have fixed this). It can be 
worked around with LDFLAGS=-R/usr/sfw/lib/sparcv9 .

On the other hand, if you were looking for a 32 bit libgmp, you forgot to 
set ABI=32 (see the doc).

Marc Glisse

More information about the gmp-bugs mailing list