undefined reference to `BMOD_1_TO_MOD_1_THRESHOLD'
xunxun1982 at gmail.com
Thu Jan 13 17:06:10 CET 2011
Yea, but my root directory's gmp_mparam.h does't have
"BMOD_1_TO_MOD_1_THRESHOLD", and it exists in the file
于 2011/1/13 23:56, Torbjorn Granlund 写道:
> 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:
> 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.
More information about the gmp-bugs