This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MPFR error


On Mon, Apr 24, 2006 at 03:10:03PM -0400, Jenn-Ching Luo wrote:
> GMP (4.2) and MPFR (2.2.0) were built without error. However, when trying to
> build gfortran, I got the following. What may be the cause? Thank you.
> 
> 
>        undefined reference to `___gmpfr_default_fp_bit_precision@INDNTPOFF'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 2306 "configure"
> #include "confdefs.h"
> #include <gmp.h>
> #include <mpfr.h>
> int main() {
> mpfr_t n; mpfr_init(n);
> ; return 0; }

Did you use

  --with-mpfr-dir=PATH    Specify source directory for MPFR library"
  --with-mpfr=PATH        Specify directory for installed MPFR library"

  --with-gmp-dir=PATH     Specify source directory for GMP library"
  --with-gmp=PATH         Specify directory for installed GMP library"

during configuration?

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]