gmp w/ mpfr for gcc's f95
Patrick Pelissier
patrick.pelissier at gmail.com
Wed Nov 30 08:13:28 CET 2005
On 11/29/05, Hugh Sasse <hgs at dmu.ac.uk> wrote:
> 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?
Could you send us the complete output of the 'configure' script and
the produced 'config.log'?
--
Patrick Pelissier
More information about the gmp-discuss
mailing list