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