public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Can't find library for -lmpfr
@ 2006-04-14 14:14 Giner, Luis (Cont, ARL/CISD)
  2006-04-15  9:15 ` Niklaus
  0 siblings, 1 reply; 2+ messages in thread
From: Giner, Luis (Cont, ARL/CISD) @ 2006-04-14 14:14 UTC (permalink / raw)
  To: gcc-help

I can't get passed this error.  I'm using the latest GMP and MPFR
releases.  I'm building this on a 10.20 HPUX D Class server.

Thank you for any help you can provide me.

configure:1963: checking whether the C compiler (gcc  ) is a
cross-compiler
configure:1968: checking whether we are using GNU C
configure:1996: checking whether gcc accepts -g
configure:2063: checking for gnatbind
configure:2128: checking whether compiler driver understands Ada
configure:2160: checking how to compare bootstrapped objects
configure:2258: checking for correct version of gmp.h
configure:2271: gcc -c -g -O2 -I/gen1/lginer/mpfr-2.2.0/include
-I/gen1/lginer/gmp-4.2  conftest.c 1>&5
configure:2284: checking for MPFR
configure:2297: gcc -o conftest -g -O2 -I/gen1/lginer/mpfr-2.2.0/include
-I/gen1/lginer/gmp-4.2   conftest.c  -L/gen1/lginer/mpfr-2.2.0/lib
-lmpfr /gen1/lginer/gmp-4.2/.libs/libgmp.a 1>&5
/usr/ccs/bin/ld: Can't find library for -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; }
configure:2793: checking for bison
configure:2828: checking for bison
configure:2863: checking for gm4
configure:2898: checking for flex
configure:2933: checking for flex
configure:2968: checking for makeinfo


Luis E. Giner
SI International
Senior UNIX Administrator
White Sands Missile Range
505-678-2450

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Can't find library for -lmpfr
  2006-04-14 14:14 Can't find library for -lmpfr Giner, Luis (Cont, ARL/CISD)
@ 2006-04-15  9:15 ` Niklaus
  0 siblings, 0 replies; 2+ messages in thread
From: Niklaus @ 2006-04-15  9:15 UTC (permalink / raw)
  To: Giner, Luis (Cont, ARL/CISD); +Cc: gcc-help

On 4/14/06, Giner, Luis (Cont, ARL/CISD) <Luis.Giner@arl.army.mil> wrote:
> I can't get passed this error.  I'm using the latest GMP and MPFR
> releases.  I'm building this on a 10.20 HPUX D Class server.
>
> Thank you for any help you can provide me.
>
> configure:1963: checking whether the C compiler (gcc  ) is a
> cross-compiler
> configure:1968: checking whether we are using GNU C
> configure:1996: checking whether gcc accepts -g
> configure:2063: checking for gnatbind
> configure:2128: checking whether compiler driver understands Ada
> configure:2160: checking how to compare bootstrapped objects
> configure:2258: checking for correct version of gmp.h
> configure:2271: gcc -c -g -O2 -I/gen1/lginer/mpfr-2.2.0/include
> -I/gen1/lginer/gmp-4.2  conftest.c 1>&5
> configure:2284: checking for MPFR
> configure:2297: gcc -o conftest -g -O2 -I/gen1/lginer/mpfr-2.2.0/include
> -I/gen1/lginer/gmp-4.2   conftest.c  -L/gen1/lginer/mpfr-2.2.0/lib
> -lmpfr /gen1/lginer/gmp-4.2/.libs/libgmp.a 1>&5
> /usr/ccs/bin/ld: Can't find library for -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; }
> configure:2793: checking for bison
> configure:2828: checking for bison
> configure:2863: checking for gm4
> configure:2898: checking for flex
> configure:2933: checking for flex
> configure:2968: checking for makeinfo
>
Ideally it should work fine. Maybe the libmpfr is not correctly
installed. Did you try compiling libmpfr or reinstalling the library.
Try giving the library or LD_LIBRARY_PATH= where the libmpfr exists.

>
> Luis E. Giner
> SI International
> Senior UNIX Administrator
> White Sands Missile Range
> 505-678-2450
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-15  9:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-14 14:14 Can't find library for -lmpfr Giner, Luis (Cont, ARL/CISD)
2006-04-15  9:15 ` Niklaus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).