ld: fatal: symbol `__gmpz_abs' is multiply-defined:

Torbjorn Granlund tg at gmplib.org
Wed Jun 24 14:53:56 CEST 2009


Marc Glisse <marc.glisse at normalesup.org> writes:

  On Tue, 23 Jun 2009, Andreev Konstantin wrote:
  
  > The same problem with gmp-4.3.1 has been demonstrated on:
  >
  >   Solaris 10 x86_64 + SunStudio Express 2009/03.
  >
  > and the your cure also works.
  
  Yes, I think it was really meant to be "inline" instead of "extern
  inline".

Have you checked that the pesky Sun^H^H^HOracle compilers don't put
these functions in *every* object file?  That would be mad.

-- 
Torbjörn


More information about the gmp-bugs mailing list