Well, CentOS 6.4 has these versions:
gmp-4.3.1-7.el6_2.2.i686 : A GNU arbitrary precision library
gmp-devel-4.3.1-7.el6_2.2.i686 : Development tools for the GNU MP arbitrary precision library
mpfr-2.4.1-6.el6.i686 : A C library for multiple-precision floating-point computations
mpfr-devel-2.4.1-6.el6.i686 : Development tools A C library for mpfr library
---
I have removed those devel versions and installed in /usr/local
gmp-5.1.3
mpfr-3.1.2

This solved the errors.

So your option would be fine for me ;).

(Maybe next time I'll use Debian :) )

Happy new Year!

Hélio


On Mon, Dec 30, 2013 at 4:01 AM, Allin Cottrell <cottrell@wfu.edu> wrote:
On Mon, 30 Dec 2013, Hélio Guilherme wrote:

Hi,

As you know I have setup a server to make periodic builds of gretl (with
the purpose of further testing). This is a i686 machine with CentOS 6.4.

It used to have  successful builds, but today is failing to build libgretl.
It is configured to use MPFR.

Errors are:
../lib/.libs/libgretl-1.0.so: undefined reference to `mpf_clears'
../lib/.libs/libgretl-1.0.so: undefined reference to `mpf_inits'

Attached is the output of the Jenkins job.

Thanks for the report. What version of gmp is installed?

I didn't realize this until I looked it up just now, but the functions mpf_inits and mpf_clears were added with the release of gmp 5.0 in January 2010.

Right now our configure test is for gmp >= 4.0.1, which is not high enough. Either we should make gmp 5.0 a requirement, or we should drop back to using the old mpf_init and mpf_clear functions. Since gmp 5.0 has been around for almost 4 years, I prefer the first option.

Allin


_______________________________________________
Gretl-devel mailing list
Gretl-devel@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel