Discussion:
[libmicrohttpd] gnutls version issue
김현호
2018-11-14 08:02:46 UTC
Permalink
Hi,


The following error occurs when building a recently released
libmicrohttpd-0.9.60 on a server with CentOS 6.9 installed.

daemon.c: In function ‘psk_gnutls_adapter’:
daemon.c:2180: error: ‘struct MHD_Daemon’ has no member named
‘cred_callback’
daemon.c:2188: error: ‘struct MHD_Daemon’ has no member named
‘cred_callback’
daemon.c:2188: error: ‘struct MHD_Daemon’ has no member named
‘cred_callback_cls’
daemon.c: In function ‘parse_options_va’:
daemon.c:5193: error: ‘struct MHD_Daemon’ has no member named
‘cred_callback’
daemon.c:5195: error: ‘struct MHD_Daemon’ has no member named
‘cred_callback_cls’
make[3]: *** [libmicrohttpd_la-daemon.lo] Error 1


If I use the --without-gnutls option, it is normally built.
I am using gnutls 2.12.23 but do not support gnutls 2.x or lower?

Regards,

HyunHo
Christian Grothoff
2018-11-14 13:02:13 UTC
Permalink
Hi!

Thanks for reporting, I've fixed the issue in ff551c46..64e14805

Happy hacking!

Christian
Post by 김현호
Hi,
The following error occurs when building a recently released
libmicrohttpd-0.9.60 on a server with CentOS 6.9 installed.
daemon.c:2180: error: ‘struct MHD_Daemon’ has no member named
‘cred_callback’
daemon.c:2188: error: ‘struct MHD_Daemon’ has no member named
‘cred_callback’
daemon.c:2188: error: ‘struct MHD_Daemon’ has no member named
‘cred_callback_cls’
daemon.c:5193: error: ‘struct MHD_Daemon’ has no member named
‘cred_callback’
daemon.c:5195: error: ‘struct MHD_Daemon’ has no member named
‘cred_callback_cls’
make[3]: *** [libmicrohttpd_la-daemon.lo] Error 1
If I use the --without-gnutls option, it is normally built.
I am using gnutls 2.12.23 but do not support gnutls 2.x or lower?
Regards,
HyunHo
Continue reading on narkive:
Search results for '[libmicrohttpd] gnutls version issue' (Questions and Answers)
3
replies
what are ssl conections?
started 2006-01-21 20:37:26 UTC
security
Loading...