a compile bug when i use mpz_init_set_str or mpz_init_get_str

Cupid 365636633 at qq.com
Fri Sep 10 17:32:12 CEST 2010


my english is very poor ,i hope you know what i said
   when i use mpz_init_get_str in my application,
 i build the solution then i got some error message,list below:
  
 gmp.lib(mul_n.o) : error LNK2019: unresolved external symbol ___chkstk referenced in function ___gmpn_mul_n
1>gmp.lib(toom42_mul.o) : error LNK2001: unresolved external symbol ___chkstk
1>gmp.lib(toom53_mul.o) : error LNK2001: unresolved external symbol ___chkstk
1>gmp.lib(mul_fft.o) : error LNK2001: unresolved external symbol ___chkstk
1>gmp.lib(lt43-set_str.o) : error LNK2001: unresolved external symbol ___chkstk
1>gmp.lib(sqr.o) : error LNK2001: unresolved external symbol ___chkstk
1>gmp.lib(lt82-mul.o) : error LNK2001: unresolved external symbol ___chkstk
1>gmp.lib(nussbaumer_mul.o) : error LNK2001: unresolved external symbol ___chkstk
1>F:\vc10\elgamal\Debug\elgamal.exe : fatal error LNK1120: 1 unresolved externals
  
 gmp 5.0.1  use static lib
 develop env vs2008 , vs2010
 windows server 2008
 the same situation int console app or mfc


More information about the gmp-bugs mailing list