On 2/12/2012 3:41 PM, Jason wrote:
Hello all,
I'm not sure when this started, but since about gmp-ecm svn 1728, it looks
like they are now requiring a __gmpn_redc_2 to be defined and/or available
from the mpir (or gmp) library.
When I run configure for gmp-ecm, it checks for the presence/usability of
both __gmpn_redc_1 and __gmpn_redc_2. It finds __gmpn_redc_1, but does not
find __gmpn_redc_2. Is it possible I have set up my environment wrong? Is
this function not available in mpir 2.5.0? Is there a way we can make it
available in mpir so that I can compile and run the latest svn of gmp-ecm?
Is there any additional information anyone would need so that we can track
down and resolve this issue? Thanks for your time.
-David C.
Hi
MPIR does not have redc_2 , we can easily add it for the next release , if
you know autotools you can give it a go yourself.
jason
I am on Windows XP x64, using mingw64 as my compiler in an msys shell. I
believe I have loaded the autotools into my environment, but I can't say I
"know" autotools.
Are you saying that you can make the change in the mpir svn, and then I could
download and test it? If that's the case, I would be happy to try.
I've found the svn repository and have downloaded version 3828. What are the
correct steps to take? Maybe something like:
0) autoreconf -i (is this step necessary, I got by without it)
1) ./configure --enable-gmpcompat
2) make
3) make check
I ran configure and make and ran into a problem with make. Then when I started
looking into it, I see that it was the same problem I had reported earlier with
the configure script not correctly handling the CRLF in the config.in file.
Once I repatched the configure script both "make" and "make check" completed
successfully.
Please let me know if/when you can add the redc_2 function into MPIR, and I will
test it out to make sure it fixes my gmp-ecm issue. Thank you for your time.
I'll talk with you later.
-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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/mpir-devel?hl=en.