undefined reference to `BMOD_1_TO_MOD_1_THRESHOLD'

PcX xunxun1982 at gmail.com
Thu Jan 13 16:35:43 CET 2011


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.

Thanks.

于 2011/1/13 19:15, PcX 写道:
> Hi, All
>
>     I have compiled the newest gmplib snapshots with mingw gcc4.5 on 
> Win7, but when I "make check", I will get the message below:
>
> ***********
> libtool: link: gcc -std=gnu99 -m32 -O2 -pedantic -fomit-frame-pointer 
> -mno-cygwin -o t-bswap.exe t-bswap.o  ./.libs/libtests.a 
> /e/new/gcc/gmp/build/.libs/libgmp.a ../.libs/libgmp.a
> e:/new/gcc/gmp/build/.libs/libgmp.a(k7_gcd_1.o):fake:(.text+0xea): 
> undefined reference to `BMOD_1_TO_MOD_1_THRESHOLD'
> ***********
>
> , and I used the older gmplib snapshots very well on November.
>
>     Any solutions?
>
>     Many thanks!
> -- 
> Regards
> PcX

-- 
Regards
PcX



More information about the gmp-bugs mailing list