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

Reply via email to