gnu mp make check 4.1.3 error

Kevin Ryde user42 at zip.com.au
Fri Jul 9 01:32:52 CEST 2004


"Giuliano Castelli" <g.castelli at ts.astro.it> writes:
>
> gcc -g -O2 -fomit-frame-pointer -mcpu=pentiumpro -march=pentiumpro -o .libs/t-bswap t-bswap.o  ./.libs/libtests.a /home/castelli/my/myNotSimple/IntegerClass/gmp-4.1.3/.libs/libgmp.so ../.libs/libgmp.so -Wl,--rpath -Wl,/usr/local/lib

This is the right sort of command.

> /home/castelli/my/myNotSimple/IntegerClass/gmp-4.1.3/tests/t-bswap.c:40: undefined reference to `__gmpn_random'

All these unresolved bits are meant to be in libgmp, you can check if
.lib/libgmp.so seems right.  readelf or maybe nm will show the symbols
in it.

(If the problem is related to shared libraries, you might be able to
configure gmp with --disable-shared to get something that at least
works.)

-- 
All followups to gmp-bugs at swox.com please.


More information about the gmp-bugs mailing list