about gmp-chudnovsky.c

Torbjörn Granlund tg at gmplib.org
Wed Oct 1 08:39:47 UTC 2014


Roberto Premoli <roberto.premoli at tiscali.it> writes:

  gmp-chudnovsky.c:(.text+0x4d): undefined reference to "__gmpf_get_prec"
  gmp-chudnovsky.c:(.text+0x7f): undefined reference to "sqrt"
  gmp-chudnovsky.c:(.text+0x94): undefined reference to "__gmpf_set_d"
  
  etc etc
  
  How to make it working?
  
You need to link to gmp and the libm as per the conventions on your
system.


-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-discuss mailing list