> On Jul 25, 2021, at 9:54 PM, Pascal <p....@orange.fr> wrote:
>
> 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.
Pascal,
You want C_CTYPE_INLINE to be inline rather than static.
#ifndef C_CTYPE_INLINE
#define C_CTYPE_INLINE _GL_INLINE
#endif
and config.h *should* have
#define _GL_INLINE inline
So one of two things went wrong in your build: Either C_CTYPE_INLINE got
defined incorrectly somewhere before c_ctypes.h got included or configure got
something wrong and didn't define _GL_INLINE to inline.
Regards,
John Ralls
_______________________________________________
gtk-osx-users-list mailing list
gtk-osx-users-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list