warning: GMP header version 5.1.1 differs from library version 6.0.0.

Solution Unverified - Updated -

Issue

  • The following messages are observed when compiling my C source code:
  compiled by GNU C version 4.8.3 20140911 (Red Hat 4.8.3-9), GMP version 5.1.1, MPFR version 3.1.1, MPC version 1.0.1
warning: GMP header version 5.1.1 differs from library version 6.0.0.

Environment

  • Red Hat Enterprise Linux 7
  • gmp-6.0.0-11.el7.x86_64
  • libgcc-4.8.3-9.el7.x86_64
  • libmpc-1.0.1-3.el7.x86_64
  • gcc-c++-4.8.3-9el7.x86_64
  • gcc-4.8.3-9.el7.x86_64
  • mpfr-3.1.1-4.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content