[Help-gnutls] Re: duplicate symbols complaint on Mac OS X 10.5.2

Ludovic Courtès ludo at gnu.org
Tue Mar 18 10:32:55 CET 2008


Hi,

David Reiser <dbreiser at gmail.com> writes:

> ld: duplicate symbol ___gmpz_abs in
> .libs/libguile_gnutls_v_1_la-errors.o and
> .libs/libguile_gnutls_v_1_la-core.o

That's weird since `__gmpz_abs' is supposedly inline.

Can you try compiling something like:

  #include <gmp.h>

  void
  foo (mpz_t a, mpz_t b)
  {
    mpz_abs (a, b);
  }

And then run:

  $ nm -g the-file.o | grep mpz_abs

Thanks,
Ludovic.






More information about the Gnutls-help mailing list