Hi,
about the problem reported in
http://groups.google.com/group/sage-support/t/24944e5521b9e498?hl=en,
it seems the GMP function __gmpn_add_nc is not found:
> sage/libs/libecm.so: undefined symbol: __gmpn_add_nc
This function is used in the file mpmod.c from GMP-ECM:
#ifdef HAVE___GMPN_ADD_NC
cy = __gmpn_add_nc (rp, tp + n, xp + n, n,
(mp_limb_t) ((xp[n - 1] | tp[n - 1]) ? 1 : 0));
#else
cy = mpn_add_n (rp, tp + n, xp + n, n);
cy += mpn_add_1 (rp, rp, n, (mp_limb_t) ((xp[n - 1] | tp[n - 1]) ? 1 : 0));
#endif
It seems that the #ifdef HAVE___GMPN_ADD_NC did not work as expected,
or GMP-ECM was configured on a different system where __gmpn_add_nc
was available.
Paul Zimmermann
--~--~---------~--~----~------------~-------~--~----~
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/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---