warning: GMP header version 5.1.1 differs from library version 6.0.0.
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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
