GMP Configuration Error

Syed Sabah-ud-Din Gilani leepianz at gmail.com
Thu Apr 10 11:06:17 UTC 2014


Dear Sir,

I have installed gmp 5.1.3 successfully on linux based supercomputer but I
need to configure gmp 4.2.2. I am facing the following error during
installation of gmp 4.2.2.

g++ -shared -nostdlib
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib/crti.o
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/32/crtbeginS.o  .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  -Wl,--rpath
-Wl,/export/home2/RCMS/abeera.tariq/gmp-4.2.2/.libs -Wl,--rpath
-Wl,/export/home2/RCMS/abeera.tariq/local/lib ./.libs/libgmp.so
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/32
-L/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib -L/lib/../lib
-L/usr/lib/../lib -lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/32/crtendS.o
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib/crtn.o  -Wl,-soname
-Wl,libgmpxx.so.4 -o .libs/libgmpxx.so.4.0.2
./.libs/libgmp.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [libgmpxx.la] Error 1
make[2]: Leaving directory
`/state/partition1/home2/RCMS/abeera.tariq/gmp-4.2.2'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/state/partition1/home2/RCMS/abeera.tariq/gmp-4.2.2'
make: *** [install] Error 2
Make Install Successfully
/export/home2/RCMS/abeera.tariq/local

Waiting for your positive response and guidelines.

Best Regards,
*Syed Sabah-ud-din Gilani*


More information about the gmp-bugs mailing list