[gnutls-devel] GnuTLS | Building GnuTLS 3.5.19 fails to build with `guile/src/core.c:3338:31: error: expected ')' before '; ' token (void) gnutls_global_init (); ` (#551)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Wed Aug 22 12:54:24 CEST 2018
New Issue was created.
Issue 551: https://gitlab.com/gnutls/gnutls/issues/551
Author: Paul Menzel
Assignee:
## Description of problem:
Try to build GnuTLS 3.5.19:
$ /dev/shm/bee-root/gnutls/gnutls-3.5.19-0/source/configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --sysconfdir=/etc --sharedstatedir=/var --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --datarootdir=/usr/share --datadir=/usr/share --infodir=/usr/share/info --localedir=/usr/share/locale --mandir=/usr/share/man --docdir=/usr/share/doc/gnutls --exec-prefix=/usr
$ make
[…]
make all-am
make[4]: Entering directory '/dev/shm/bee-root/gnutls/gnutls-3.5.19-0/build/guile/src'
CC guile_gnutls_v_2_la-core.lo
/dev/shm/bee-root/gnutls/gnutls-3.5.19-0/source/guile/src/core.c: In function 'scm_init_gnutls':
/dev/shm/bee-root/gnutls/gnutls-3.5.19-0/source/guile/src/core.c:3338:31: error: expected ')' before ';' token
(void) gnutls_global_init ();
^
/dev/shm/bee-root/gnutls/gnutls-3.5.19-0/source/guile/src/core.c:3338:3: error: invalid use of void expression
(void) gnutls_global_init ();
^
In file included from /dev/shm/bee-root/gnutls/gnutls-3.5.19-0/source/guile/src/core.c:3335: :
./core.x:214:2: error: too few arguments to function 'scm_c_define_gsubr'
scm_c_define_gsubr (s_scm_gnutls_set_log_level_x,
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/libguile.h:52:0,
from /dev/shm/bee-root/gnutls/gnutls-3.5.19-0/source/guile/src/core.c:29:
/usr/include/libguile/gsubr.h:47:13: note: declared here
SCM_API SCM scm_c_define_gsubr (const char *name,
^~~~~~~~~~~~~~~~~~
/dev/shm/bee-root/gnutls/gnutls-3.5.19-0/source/guile/src/core.c:3348:1: error: expected ')' before '}' token
}
^
In file included from /dev/shm/bee-root/gnutls/gnutls-3.5.19-0/source/guile/src/core.c:3335: :
./core.x:213:2: error: too few arguments to function 'scm_c_define_gsubr'
scm_c_define_gsubr (s_scm_gnutls_set_log_procedure_x,
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/libguile.h:52:0,
from /dev/shm/bee-root/gnutls/gnutls-3.5.19-0/source/guile/src/core.c:29:
/usr/include/libguile/gsubr.h:47:13: note: declared here
SCM_API SCM scm_c_define_gsubr (const char *name,
^~~~~~~~~~~~~~~~~~
/dev/shm/bee-root/gnutls/gnutls-3.5.19-0/source/guile/src/core.c:3348:1: error: expected ')' before '}' token
}
^
In file included from /dev/shm/bee-root/gnutls/gnutls-3.5.19-0/source/guile/src/core.c:3335: :
./core.x:212:2: error: too few arguments to function 'scm_c_define_gsubr'
scm_c_define_gsubr (s_scm_gnutls_set_certificate_credentials_openpgp_keys_x,
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/libguile.h:52:0,
from /dev/shm/bee-root/gnutls/gnutls-3.5.19-0/source/guile/src/core.c:29:
/usr/include/libguile/gsubr.h:47:13: note: declared here
SCM_API SCM scm_c_define_gsubr (const char *name,
^~~~~~~~~~~~~~~~~~
/dev/shm/bee-root/gnutls/gnutls-3.5.19-0/source/guile/src/core.c:3348:1: error: expected ')' before '}' token
```
## Version of gnutls used:
3.5.19
## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Upstream
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/551
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/20180822/065186c1/attachment-0001.html>
More information about the Gnutls-devel
mailing list