Re: [gtk-osx-users] Building libtasn1: Undefined symbols _c_isdigit.
- From: John Ralls <jralls ceridwen us>
- To: Pascal <p p14 orange fr>
- Cc: gtk-osx-users-list gnome org
- Subject: Re: [gtk-osx-users] Building libtasn1: Undefined symbols _c_isdigit.
- Date: Mon, 26 Jul 2021 08:51:13 -0700
On Jul 25, 2021, at 9:54 PM, Pascal <p p14 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
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]