mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > GMP-ECM

Reply
 
Thread Tools
Old 2008-04-30, 13:05   #1
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default GMP-ECM 6.2-rc1 - installation under MinGW failed

I just tried to install the release-candidate under MinGW / Msys - it failed.

The error message is:

Code:
configure: WARNING: gmp.h: present but cannot be compiled
configure: WARNING: gmp.h:     check for missing prerequisite headers?
configure: WARNING: gmp.h: see the Autoconf documentation
configure: WARNING: gmp.h:     section "Present But Cannot Be Compiled"
configure: WARNING: gmp.h: proceeding with the preprocessor's result
configure: WARNING: gmp.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------------ ##
configure: WARNING:     ## Report this to ecm-discuss@lists.gforge.inria.fr ##
configure: WARNING:     ## ------------------------------------------------ ##
configure: error: 'gmp.h' and 'libgmp' have different versions! you have to properly reinstall GMP.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `check'.  Stop.
make: *** No rule to make target `ecm-params'.  Stop.
make: *** No targets specified and no makefile found.  Stop.
make: Nothing to be done for `install'.
Andi47 is offline   Reply With Quote
Old 2008-04-30, 15:03   #2
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

Hi,

it looks like this can be caused by a gcc version older than 3.4, which did not understand the -Wextra parameter yet. Which gcc version are you using? If it is older than 3.4, can you try editing the configure file and replace -Wextra by -W in there? Does it work then?

Thanks,
Alex
akruppa is offline   Reply With Quote
Old 2008-04-30, 16:29   #3
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

9B216 Posts
Default

Quote:
Originally Posted by akruppa View Post
Hi,

it looks like this can be caused by a gcc version older than 3.4, which did not understand the -Wextra parameter yet. Which gcc version are you using? If it is older than 3.4, can you try editing the configure file and replace -Wextra by -W in there? Does it work then?

Thanks,
Alex
How can I see which version my gcc is?
Andi47 is offline   Reply With Quote
Old 2008-04-30, 16:38   #4
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

246710 Posts
Default

With "gcc --version"

Alex
akruppa is offline   Reply With Quote
Old 2008-04-30, 17:02   #5
Andi47
 
Andi47's Avatar
 
Oct 2004
Austria

2·17·73 Posts
Default

Quote:
Originally Posted by akruppa View Post
With "gcc --version"

Alex
It is version 3.2.3.

I retryed after replacing -Wextra by -W, it worked. Running make check says that all p-1, p+1 and ecm tests are ok.
Andi47 is offline   Reply With Quote
Old 2008-04-30, 17:46   #6
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

Great, thanks!

Alex
akruppa is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling YAFU under MinGW wombatman YAFU 10 2016-01-21 19:48
MinGW ET_ Software 0 2012-10-24 10:06
MinGW-w64 bsquared Programming 19 2011-02-05 03:27
MinGW/MSYS CRGreathouse Software 10 2009-02-04 22:02
Better with MinGW 5.0.3? M0CZY GMP-ECM 1 2006-07-16 07:29

All times are UTC. The time now is 05:49.


Mon Jan 30 05:49:51 UTC 2023 up 165 days, 3:18, 0 users, load averages: 1.24, 1.10, 1.04

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔