gmp w/ mpfr for gcc's f95

Hugh Sasse hgs at dmu.ac.uk
Tue Nov 29 20:58:12 CET 2005


All the tests passed, so I installed the library.  My config.log
from the gcc build ends up with 

configure:2284: checking for MPFR
configure:2297: gcc -o conftest -g -O2 -I/usr/local/include -I/usr/local/include   conftest.c  -L/usr/local/lib -L/usr/local/lib -lmpfr -lgmp 1>&5
/usr/local/bin/ld: skipping incompatible /usr/local/lib/libmpfr.a when searching for -lmpfr
/usr/local/bin/ld: skipping incompatible /usr/local/lib/libmpfr.a when searching for -lmpfr
/usr/local/bin/ld: skipping incompatible /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.3/../../../libmpfr.a when searching for -lmpfr
/usr/local/bin/ld: skipping incompatible /usr/local/lib/libmpfr.a when searching for -lmpfr
/usr/local/bin/ld: cannot find -lmpfr
collect2: ld returned 1 exit status
configure: failed program was:
#line 2289 "configure"
#include "confdefs.h"
#include <gmp.h>
#include <mpfr.h>
int main() {
mpfr_t n; mpfr_init(n);
; return 0; }


I don't mind that it skips the ones in /usr/local/lib/gcc, but the
ones it finds first are the new ones, which it claims are not
compatble.  What should I be looking at now, please?

        Thank you,
        Hugh



More information about the gmp-discuss mailing list