AIX 7.1 and xlc issues

jheyman at jheyman at
Thu Aug 2 21:48:51 CEST 2012

gmp is a prereq to building GCC, so I have started building the necessary
prerequisite software.

gmp-5.0.5 builds correctly using:

$ MAKE=gmake ./configure
$ gmake 2>&1 | tee make.out
$ gmake check
# gmake install

gmake check runs successfully, all tests work.

next step is to build mfr-3.1.1

$ MAKE=gmake ./configure CFLAGS="-q64 -I/usr/local/include" \
  CPPFLAGS="-q64 -I/usr/local/include" \
  LDFLAGS="-q64 -L/usr/local/lib -lgmp"

(configure runs and then fails with)

Checking for recent GMP ... yes
Checking for __gmpz_init in -lgmp ... no
configure: error: libgmp not found or uses different ABI (including static vs shared).

Is there something I need to do in building libgmp so that the symbol will
be found?

Jerry Heyman, PhD      /   System P ISV Support     / "Software is the 
Software Engineer     /   IBM STG ISV Enablement   / difference between
jheyman at   /    919.543.5628 (t/l 441)  / hardware and reality"

More information about the gmp-bugs mailing list