[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gmp-bugs
Subject:    a compile bug when i use mpz_init_set_str or mpz_init_get_str
From:       tg () gmplib ! org (Torbjorn Granlund)
Date:       2010-09-11 9:48:12
Message-ID: 86vd6cvcf7.fsf () shell ! gmplib ! org
[Download RAW message or body]

"Cupid" <365636633 at qq.com> writes:

  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

GMP does not call any function named "chkstk".

-- 
Torbj?rn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic