[gtk-osx-users] Building libtasn1: Undefined symbols _c_isdigit.



Hello,

I built GNUTLS with Xcode 12.5.1.
I have got the error:

% jhbuild build gnutls
...
*** Building libtasn1 *** [4/7]
...
  CCLD     libtasn1.la
gl/.libs/libgnu.a:c-ctype.o: no symbols
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

Digging in config.h, I've found:
   OS X 10.9 has a macro __header_inline indicating the bug is fixed for C and
   for clang but remains for g++; see <https://trac.macports.org/ticket/41033>.

Well it might not be the case, thus I forced C_CTYPE_INLINE macro to static in 
libtasn1-4.16.0/lib/gl/c-ctype.h.

Regards, Pascal.
https://blady.pagesperso-orange.fr




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