Is this error message related to the installation of gmp?

Zimmermann Paul Paul.Zimmermann at
Tue Sep 20 09:57:09 CEST 2011


> Date: Mon, 19 Sep 2011 21:54:54 +0200
> From: Tie Cheng <chengtie at>
> Hello all,
> I am installing a library on my machine, and I have got this message:
> gcc -Wcast-qual -Wswitch -Werror-implicit-function-declaration -Wall -Wextra
> -Wundef -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wno-unused
> -std=c99  -U__STRICT_ANSI__ -g -O0 -UNDEBUG -I../mlgmpidl -I../apron
> -I/usr/local/include -I/usr/local/include -I/usr/lib/ocaml
> -I/usr/local/lib/ocaml -c -o scalar_caml_debug.o scalar_caml.c
> In file included from scalar_caml.c:23:0:
> ../mlgmpidl/gmp_caml.h: In function ‘camlidl_mpfr_rnd_t_c2ml’:
> ../mlgmpidl/gmp_caml.h:49:3: error: ‘GMP_RND_MAX’ undeclared (first use in
> this function)

this symbol was used by GNU MPFR up to version 2.4.2. Apparently you should
update your system:

Paul Zimmermann

More information about the gmp-discuss mailing list