[gnutls-help] problems compiling with gcc 6.1.0

Anthony Jagers noonetinone at gmail.com
Sat Jun 4 12:41:44 CEST 2016


I'm in a Cross-LFS setup.

This is the error.

make[4]: Entering directory '/root/archives/gnutls-3.4.12/guile/src'
  CC       guile_gnutls_v_2_la-core.lo
core.c: In function 'scm_init_gnutls':
core.c:3261:31: error: expected ')' before ';' token
   (void) gnutls_global_init ();
                               ^
core.c:3271:1: error: invalid use of void expression
 }
 ^
In file included from core.c:3258:0:
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 core.c:29:
/usr/include/libguile/gsubr.h:47:13: note: declared here
 SCM_API SCM scm_c_define_gsubr (const char *name,
             ^~~~~~~~~~~~~~~~~~

This is  make in debug mode with the full error
http://pastebin.com/GaLrJNjV

This is a spec dump with gcc
http://pastebin.com/cBJBrKtd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20160604/5ed015d0/attachment-0001.html>


More information about the Gnutls-help mailing list