http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48357

           Summary: gcc compiling problem (mpfr)
           Product: gcc
           Version: 4.4.5
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: other
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: hast4...@gmail.com


Hey. I'm trying to make gcc 4.4.5 on my ContOS 5.5.
I've got a gmp 4.3.2 and a mpfr 2.4.2 just installed.
configuring of gcc is going normal, bug make command returns the error below:

libbackend.a(builtins.o): In function `fold_builtin_1':
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:10304:
undefined reference to `mpfr_j0'
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:10310:
undefined reference to `mpfr_j1'
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:10316:
undefined reference to `mpfr_y0'
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:10322:
undefined reference to `mpfr_y1'
libbackend.a(builtins.o): In function `fold_builtin_2':
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:10443:
undefined reference to `mpfr_jn'
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:10449:
undefined reference to `mpfr_yn'
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:10457:
undefined reference to `mpfr_remainder'
libbackend.a(builtins.o): In function `do_mpfr_remquo':
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:13357:
undefined reference to `mpfr_remquo'
libbackend.a(builtins.o): In function `do_mpfr_lgamma_r':
/root/gcc-4.4.5/host-i686-pc-linux-gnu/gcc/../.././gcc/builtins.c:13435:
undefined reference to `mpfr_lgamma'
collect2: ld returned 1 exit status

How can I fix this?

Reply via email to