[gnutls-devel] GnuTLS | Build failure with Xcode 12 (on macOS 10.15 and 11.0) (#1116)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed Nov 11 12:40:44 CET 2020




FX Coudert commented:


The reason why guile is not detect is that an error occurs:

configure:69686: clang -o conftest -g -O2 -D_THREAD_SAFE -I/usr/local/Cellar/guile/3.0.4/include/guile/3.0 -I/usr/local/opt/gmp/include -I/usr/local/opt/readline/include -I/usr/local/opt/bdw-gc/include   -Wl,-no_weak_imports conftest.c -lintl  -L/usr/local/Cellar/guile/3.0.4/lib -L/usr/local/opt/bdw-gc/lib -lguile-3.0 -lgc >&5
conftest.c:540:1: error: implicit declaration of function 'scm_from_locale_string' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
scm_from_locale_string ("")
^
1 error generated.

which is an error because the function scm_from_locale_string() is not defined as it should be. That test should be fixed to include "#include <libguile.h>"

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1116#note_445555377
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20201111/38350215/attachment-0001.html>


More information about the Gnutls-devel mailing list