bug-gmp
[Top][All Lists]
Advanced

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

Re: bug with mpz_ui_sub


From: Torbjorn Granlund
Subject: Re: bug with mpz_ui_sub
Date: 01 Apr 2003 15:25:08 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Dominique DELANDE <address@hidden> writes:

  * The program does not compile : error message is :
  undefined reference to `mpz_ui_sub', 
  which seems to indicate that the function mpz_ui_sub is absent in the
  library.  The mpz subdirectory contains ui_sub.c ui_sub.o and ui_sub.lo
  
You are picking up the wrong gmp.h, I think.
Most GNU/Linux distributions have one in /usr/include.

You need an explicit -I to get the right gmp.h.
The GMP manual have all the details.

-- 
Torbjörn




reply via email to

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