gcc warning about MPFR header version

Achim Gratz Stromeko@nexgo.de
Wed Feb 4 20:50:00 GMT 2015


Ken Brown writes:
> On 2/4/2015 10:49 AM, Achim Gratz wrote:
>> Ken Brown writes:
>>> While trying to build clisp on x86_64 Cygwin with 'gcc -v', I got the following:
>>>
>>>    warning: MPFR header version 3.1.2 differs from library version 3.1.2-p11.
>>>
>>> Does this indicate a problem, or can it be safely ignored?
>>
>> You need to install the latest version of libmpfr-devel (should be 3.1.2-2).
>
> That's what I have.

You should have this:

--8<---------------cut here---------------start------------->8---
$ grep MPFR_VERSION /usr/include/mpfr.h
#define MPFR_VERSION_MAJOR 3
#define MPFR_VERSION_MINOR 1
#define MPFR_VERSION_PATCHLEVEL 2
#define MPFR_VERSION_STRING "3.1.2-p11"
#define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
#define MPFR_VERSION \
MPFR_VERSION_NUM(MPFR_VERSION_MAJOR,MPFR_VERSION_MINOR,MPFR_VERSION_PATCHLEVEL)
--8<---------------cut here---------------end--------------->8---

If not, then please re-install -- I've just checked that the archives
are correct.  If yes, then check where your include comes from, you may
be picking up a bundled version of the header file or something from
/usr(local/include.

The patches haven't changed the API so the original header file isn't
wrong, but better safe then sorry.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list