[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

4.16.0 link failure on macOS

From: Hanspeter Niederstrasser
Subject: 4.16.0 link failure on macOS
Date: Sat, 18 Apr 2020 07:10:21 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On macOS, building libtasn1-4.16.0 fails with this error:

libtool: link: gcc -dynamiclib -o .libs/libtasn1.6.dylib .libs/ASN1.o .libs/coding.o .libs/decoding.o .libs/element.o .libs/errors.o .libs/gstr.o .libs/parser_aux.o .libs/structure.o .libs/version.o -Wl,-force_load,gl/.libs/libgnu.a -L/sw/lib -install_name /sw/lib/libtasn1.6.dylib -compatibility_version 13 -current_version 13.0 -Wl,-single_module -Wl,-exported_symbols_list,.libs/libtasn1-symbols.expsym
Undefined symbols for architecture x86_64:
  "_c_isdigit", referenced from:
      __asn1_expand_object_id in parser_aux.o
      __asn1_check_identifier in parser_aux.o

And looking at the object files, c_isdigit is being used differently in parser_aux.c compared to the other places in the code:
$ nm -o *.o | grep c_isdigit
ASN1.o: 00000000000041e0 t _c_isdigit
decoding.o: 0000000000005740 t _c_isdigit
element.o: 00000000000014e0 t _c_isdigit
parser_aux.o:                  U _c_isdigit

libtasn1-4.15.0 built fine on the same system.

Not a programmer, but happy to test patches.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]