Unfortunately, GMP-ECM will have to be rewritten to use the new FFT. Fortunately, the best_k and next_size stuff is no longer needed. So this shouldn't be too much work.
Bill. On 15 October 2012 02:47, David Cleaver <wrai...@morpheus.net> wrote: > > On 10/14/2012 6:43 PM, Bill Hart wrote: >> >> Hi all, >> >> I've released MPIR-2.6.0 alpha2 on our website http://mpir.org/ >> >> This should fix the issues discovered in the first alpha. >> >> I've tested on a K10-2 and ia64. Any other build reports, test reports >> or results of make tune welcome. >> >> Bill. >> > > Hello, > > I was able to run configure, make, and 'make check' all successfully on a > Windows XP x64 system, in an Msys shell, with MingW64 as my compiler. > I configured with: > $ ./configure --enable-gmpcompat > > However, when I tried to use this library with GMP-ECM, that compilation > failed with several undefined references. They are all related to mpn fft > code. I'm not sure what the best way to proceed on this issue might be. > Should the missing functions be added back into MPIR? Or should GMP-ECM be > rewritten to not use the missing functions? Here is the compilation error I > get while making GMP-ECM: > > libtool: link: gcc -O2 -pedantic -m64 -std=gnu99 -mtune=core2 -march=core2 > -o ecm.exe ecm-auxi.o ecm-b1_ainc.o ecm-candi.o ecm-eval.o ecm-random.o > ecm-main.o ecm-resume.o ecm-getprime.o ./.libs/libecm.a -lgmp > ./.libs/libecm.a(libecm_la-mpmod.o):mpmod.c:(.text+0x2223): undefined > reference to `__gmpn_fft_best_k' > ./.libs/libecm.a(libecm_la-mpmod.o):mpmod.c:(.text+0x22c0): undefined > reference to `__gmpn_mul_fft' > ./.libs/libecm.a(libecm_la-mpmod.o):mpmod.c:(.text.hot+0x388): undefined > reference to `__gmpn_fft_best_k' > ./.libs/libecm.a(libecm_la-mpmod.o):mpmod.c:(.text.hot+0x42e): undefined > reference to `__gmpn_mul_fft' > ./.libs/libecm.a(libecm_la-schoen_strass.o):schoen_strass.c:(.text+0xcc0): > undefined reference to `__gmpn_fft_best_k' > ./.libs/libecm.a(libecm_la-schoen_strass.o):schoen_strass.c:(.text+0xd08): > undefined reference to `__gmpn_mul_fft' > ./.libs/libecm.a(libecm_la-ks-multiply.o):ks-multiply.c:(.text+0x10cd): > undefined reference to `__gmpn_fft_best_k' > ./.libs/libecm.a(libecm_la-ks-multiply.o):ks-multiply.c:(.text+0x10dc): > undefined reference to `__gmpn_fft_next_size' > ./.libs/libecm.a(libecm_la-ks-multiply.o):ks-multiply.c:(.text+0x1124): > undefined reference to `__gmpn_mul_fft' > ./.libs/libecm.a(libecm_la-ks-multiply.o):ks-multiply.c:(.text+0x1319): > undefined reference to `__gmpn_fft_best_k' > ./.libs/libecm.a(libecm_la-ks-multiply.o):ks-multiply.c:(.text+0x1335): > undefined reference to `__gmpn_fft_next_size' > ./.libs/libecm.a(libecm_la-ks-multiply.o):ks-multiply.c:(.text+0x15ae): > undefined reference to `__gmpn_fft_best_k' > ./.libs/libecm.a(libecm_la-ks-multiply.o):ks-multiply.c:(.text+0x15c5): > undefined reference to `__gmpn_fft_next_size' > ./.libs/libecm.a(libecm_la-ks-multiply.o):ks-multiply.c:(.text+0x162d): > undefined reference to `__gmpn_mul_fft' > collect2: ld returned 1 exit status > make[2]: *** [ecm.exe] Error 1 > > -David C. > > -- > You received this message because you are subscribed to the Google Groups > "mpir-devel" group. > To post to this group, send email to mpir-devel@googlegroups.com. > To unsubscribe from this group, send email to > mpir-devel+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/mpir-devel?hl=en. > -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-devel@googlegroups.com. To unsubscribe from this group, send email to mpir-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en.