[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About using GMP

From: Kevin Ryde
Subject: Re: About using GMP
Date: Tue, 10 Feb 2004 01:44:08 +1000
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

Mingyi Wang <address@hidden> writes:
>   I think I have installed the GMP successfully because "make check" is OK.

That tests the build, it doesn't use the final install locations.

> Some functions of GMP such as mpf_init, mpz_fac_ui can be called correctly. 
> But
> other functions like mpf_get_default_prec() and gmp_printf() can not work
> properly. The error prompt is "error while loading shared libraries: ./a.out:
> undefined symbol: __gmpf_get_default_prec". I compiled my own source code 
> using
> "gcc x.c -lgmp" and my computer is red hat linux V7.1.

Check you don't have an older version of libgmp (and gmp.h) in one of
the standard locations, stopping your newly installed copy from being

All followups to address@hidden please.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]