Modules/constants.c: In function `LDAPinit_constants':
Modules/constants.c:179: error: `LDAP_OPT_X_TLS_CRLCHECK' undeclared (first use in this function)
Modules/constants.c:179: error: (Each undeclared identifier is reported only once
Modules/constants.c:179: error: for each function it appears in.)
Modules/constants.c:180: error: `LDAP_OPT_X_TLS_CRL_NONE' undeclared (first use in this function)
Modules/constants.c:181: error: `LDAP_OPT_X_TLS_CRL_PEER' undeclared (first use in this function)
Modules/constants.c:182: error: `LDAP_OPT_X_TLS_CRL_ALL' undeclared (first use in this function)
error: command 'gcc' failed with exit status 1

Workaround: diese vier Zeilen in constants.c auskommentieren:

179c179
< /*	add_int(d,OPT_X_TLS_CRLCHECK);
---
> 	add_int(d,OPT_X_TLS_CRLCHECK);
182c182
< 	add_int(d,OPT_X_TLS_CRL_ALL); */
---
> 	add_int(d,OPT_X_TLS_CRL_ALL);