[Date Prev][Date Next] [Chronological] [Thread] [Top]

2.4.14 : compilation fails with "--with-tls=gnutls"



Hello,

When I try to build openldap 2.4.14. with the option "--with-tls=gnutls", the compilation fails with this error:
/bin/sh ../../libtool --mode=compile cc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c tls2.c
cc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c tls2.c -fPIC -DPIC -o .libs/tls2.o
tls2.c: In function 'ldap_pvt_tls_get_option':
tls2.c:642: error: 'struct ldapoptions' has no member named 'ldo_tls_crlcheck'
tls2.c: In function 'ldap_pvt_tls_set_option':
tls2.c:773: error: 'struct ldapoptions' has no member named 'ldo_tls_crlcheck'
make[2]: *** [tls2.lo] Erreur 1


With the option "--with-tls=openssl", the compilation ends correctly. I have compiled openldap 2.4.13 on the same computer with the option "--with-tls=gnutls" without problem.

I have looked in to the code, I don't understand why some of the "#ifdef HAVE_(OPENSSL|GNTUTLS)*" have disappeared in the new file tls2.c.

Regrards,
Julien