undefined reference to `BMOD_1_TO_MOD_1_THRESHOLD'

PcX xunxun1982 at gmail.com
Thu Jan 13 17:35:19 CET 2011


I try to reconfigure again and compile.  I found that when I use 
"--enable-fat", the error produced, and when I don't use "--enable-fat", 
the error disappeared.

ps: my build stript is

CPPFLAGS=-fexceptions ./configure --prefix=/mingw 
--build=i686-pc-mingw32 --host=i686-pc-mingw32 --target=i686-pc-mingw32 \
             --enable-cxx --enable-static --disable-shared (--enable-fat)

于 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:
>
>    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.
>

-- 
Regards
PcX



More information about the gmp-bugs mailing list