undefined reference to `BMOD_1_TO_MOD_1_THRESHOLD'

Torbjorn Granlund tg at gmplib.org
Thu Jan 13 16:56:56 CET 2011


PcX <xunxun1982 at gmail.com> writes:

  Well, I have found the solution.
  
  The source code file "\mpn\k7_gcd_1.asm" lacks of the line below:
  
  define(BMOD_1_TO_MOD_1_THRESHOLD,28)
  
  Since the snapshot lacks of the line, I think the dev edition miss the
  one, too.

BMOD_1_TO_MOD_1_THRESHOLD is defined in gmp-mparam.h, and put in the
configure-time generated file config.m4 by configure.  It should not be
(redundantly) defined in any other place.

-- 
Torbjörn


More information about the gmp-bugs mailing list