Issues compiling gmp

Gregory Machin gdm at
Thu Jul 15 06:33:52 CEST 2010

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/ || echo
/bin/sh ../../libtool --mode=link i586-pc-linux-g++  -O2 -g -m32
-march=i586 -fasynchronous-unwind-tables   -o t-cast  t-cast.o
../../tests/ ../../ ../../
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
-L/usr/lib/gcc/i586-pc-linux/3.4.6/../../.. /usr/lib/
-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/
i586-pc-linux-g++: ../../.libs/ 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)

Is there something missing from my build environment ?

More information about the gmp-discuss mailing list