Issues compiling gmp

Gregory Machin gdm at linuxpro.co.za
Thu Jul 15 06:33:52 CEST 2010


Hi
I'm trying to build the gmp rpm\s using rpmbuild . It get's as far the
the make check and I get errors ...

==================
All 3 tests passed
==================
make[3]: Leaving directory `/usr/src/endian/BUILD/gmp-4.1.4/base/tests/misc'
make[2]: Leaving directory `/usr/src/endian/BUILD/gmp-4.1.4/base/tests/misc'
Making check in cxx
make[2]: Entering directory `/usr/src/endian/BUILD/gmp-4.1.4/base/tests/cxx'
make  t-cast t-headers t-ostream t-locale t-constr t-expr
make[3]: Entering directory `/usr/src/endian/BUILD/gmp-4.1.4/base/tests/cxx'
i586-pc-linux-g++ -DHAVE_CONFIG_H -I. -I../../../tests/cxx -I../..
-I../../.. -I../../../tests    -O2 -g -m32 -march=i586
-fasynchronous-unwind-tables -c -o t-cast.o `test -f
../../../tests/cxx/t-cast.cc || echo
'../../../tests/cxx/'`../../../tests/cxx/t-cast.cc
/bin/sh ../../libtool --mode=link i586-pc-linux-g++  -O2 -g -m32
-march=i586 -fasynchronous-unwind-tables   -o t-cast  t-cast.o
../../tests/libtests.la ../../libgmpxx.la ../../libgmp.la
mkdir .libs
i586-pc-linux-g++ -O2 -g -m32 -march=i586 -fasynchronous-unwind-tables
-o .libs/t-cast t-cast.o  ../../tests/.libs/libtests.a
../../.libs/libgmpxx.so
/root/rpmbuild/BUILD/gmp-4.1.4/base/.libs/libgmp.so
-L/usr/lib/gcc/i586-pc-linux/3.4.6
-L/usr/lib/gcc/i586-pc-linux/3.4.6/../../.. /usr/lib/libstdc++.so
-L/usr/src/endian/BUILD/gcc-3.4.6-20060404/obj-i586-pc-linux/i586-pc-linux/libstdc++-v3/src
-L/usr/src/endian/BUILD/gcc-3.4.6-20060404/obj-i586-pc-linux/i586-pc-linux/libstdc++-v3/src/.libs
-lm -lm -lm -L/usr/src/endian/BUILD/gcc-3.4.6-20060404/obj-i586-pc-linux/gcc
-L/usr/lib/gcc/.. -lgcc_s -lc -lgcc_s -lm -lgcc_s -lc -lgcc_s -lm
-lgcc_s -lc -lgcc_s ../../.libs/libgmp.so
i586-pc-linux-g++: ../../.libs/libgmpxx.so: No such file or directory
make[3]: *** [t-cast] Error 1
make[3]: Leaving directory `/usr/src/endian/BUILD/gmp-4.1.4/base/tests/cxx'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/usr/src/endian/BUILD/gmp-4.1.4/base/tests/cxx'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/src/endian/BUILD/gmp-4.1.4/base/tests'
make: *** [check-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.37573 (%check)


RPM build errors:
   Bad exit status from /var/tmp/rpm-tmp.37573 (%check)
bash-3.00#

Is there something missing from my build environment ?


More information about the gmp-discuss mailing list