GMP Problem Report ------------------- “make install” is giving the following error creating libgmp.la (cd .libs && rm -f libgmp.la && ln -s ../libgmp.la libgmp.la) /bin/sh ./libtool --mode=compile aCC -DHAVE_CONFIG_H -I. -I/home/cprabhak/cprocs/gmp-4.2 -I. -D__GMP_WITHIN_GMP -AA +DS2.0W +DD64 -c -o dummy.lo `test -f 'cxx/dummy.cc' || echo '/home/cprabhak/cprocs/gmp-4.2/'`cxx/dummy.cc aCC -DHAVE_CONFIG_H -I. -I/home/cprabhak/cprocs/gmp-4.2 -I. -D__GMP_WITHIN_GMP -AA +DS2.0W +DD64 -c /home/cprabhak/cprocs/gmp-4.2/cxx/dummy.cc +Z -DPIC -o .libs/dummy.o aCC -DHAVE_CONFIG_H -I. -I/home/cprabhak/cprocs/gmp-4.2 -I. -D__GMP_WITHIN_GMP -AA +DS2.0W +DD64 -c /home/cprabhak/cprocs/gmp-4.2/cxx/dummy.cc -o dummy.o >/dev/null 2>&1 /bin/sh ./libtool --mode=link aCC -AA +DS2.0W +DD64 -o libgmpxx.la -rpath /home/cprabhak/cprocs/gmp/lib/lib -version-info 3:2:0 dummy.lo cxx/isfuns.lo cxx/ismpf.lo cxx/ismpq.lo cxx/ismpz.lo cxx/ismpznw.lo cxx/osdoprnti.lo cxx/osfuns.lo cxx/osmpf.lo cxx/osmpq.lo cxx/osmpz.lo libgmp.la aCC -b -Wl,+h -Wl,libgmpxx.sl.3 -Wl,+b -Wl,/home/cprabhak/cprocs/gmp/lib/lib -o .libs/libgmpxx.sl.3.2 .libs/dummy.o cxx/.libs/isfuns.o cxx/.libs/ismpf.o cxx/.libs/ismpq.o cxx/.libs/ismpz.o cxx/.libs/ismpznw.o cxx/.libs/osdoprnti.o cxx/.libs/osfuns.o cxx/.libs/osmpf.o cxx/.libs/osmpq.o cxx/.libs/osmpz.o ./.libs/libgmp.sl /usr/ccs/bin/ld: .libs/dummy.o: Mismatched ABI. 64-bit PA object file found in 32-bit link. *** Error exit code 1 1. GMP Version – 4.2 , downloaded from swox.com 2. Compiler aCC: HP ANSI C++ B3910B A.03.37 3. Output of uname –a : HP-UX dbdw0020 B.11.11 U 9000/800 1423427620 unlimited-user license 4. CXXFLAGS=”-AA +DS2.0W +DD64” 5. CFLAGS=”+DD64 +O2” 6. configure parameters --enable-cxx=yes ABI=2.0w 7. Output of config.guess = hppa2.0w-hp-hpux11.11 8. Output of configfsf.guess = hppa2.0w-hp-hpux11.11 9. Output of which aCC = /opt/softbench/bin/aCC 10. Output of which cc = /opt/softbench/bin/cc 11. Output dbdw0020:[/opt/softbench/bin] $ what `which cc` /opt/softbench/bin/cc: REV: 20020426.051409, 9000/800 HP-UX B.11.00 root@hpmdd25 REV: 20020426.051409, 9000/800 HP-UX B.11.00 root@hpmdd25