View Single Post
Old 2013-02-28, 22:02   #40
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

3×372 Posts
Default

This is getting ridiculous! I just tried to compile 6.4.4 on one of my 32-bit AntiX machines and have hit the following troubles:

First, I have never had gmp 5.0.5 on this machine. I started with gmp 5.1.1. Yet, I get:
Code:
checking if gmp.h version and libgmp version are the same... (5.1.1/5.0.5) no
configure: error: 'gmp.h' and 'libgmp' have different versions, you have to reinstall GMP properly.
So, using "whereis libgmp" I get:
Code:
libgmp: /usr/local/lib/libgmp.la /usr/local/lib/libgmp.a /usr/local/lib/libgmp.so
Using "./configure LIBS=/usr/local/lib/libgmp.a" it seems happy:
Code:
...
checking whether we can link against GMP... yes
checking if gmp.h version and libgmp version are the same... (5.1.1/5.1.1) yes
checking for __gmpn_add_nc... yes
...
However,
Code:
GMP-ECM 6.4.4 [configured with GMP 5.0.5] [P+1]
Input number is 6054018161*10^400+417727253109 (410 digits)
Using B1=2000, B2=2352760, polynomial x^1, x0=4
./ecm: symbol lookup error: ./ecm: undefined symbol: __gmpn_add_nc
############### ERROR ###############
Expected return code 14 but got 127
make: *** [check] Error 1
OK, remarking out the "#define HAVE___GMPN_ADD_NC 1" as referenced before:
Code:
GMP-ECM 6.4.4 [configured with GMP 5.0.5] [ECM]
Input number is 212252637915375215854013140804296246361 (39 digits)
Using B1=63421, B2=1822795201-1822795212, polynomial x^1, sigma=781683988
Step 1 took 324ms
Step 2 took 4ms
############### ERROR ###############
Expected return code 8 but got 0
make: *** [check] Error 1
Why is it configured with gmp 5.0.5 if my first install was gmp 5.1.1? And, is that what's causing the error?

Thanks to all...

Edit: Apparently, there is a libgmp10 from the repository that is tied to 48 packages. Could that be causing this?

Last fiddled with by EdH on 2013-02-28 at 22:08 Reason: addition of more info
EdH is offline   Reply With Quote