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

--disable-referrals --enable-dns fails



libraries/libldap/{ ldap-int.h, request.h } contains code which does:

  #if defined( LDAP_REFERRALS ) || defined( LDAP_DNS )
     ... LDAPRequest ... LDAPServer ... LDAPConn ...
  #endif

even though ldap.h only defines these if LDAP_REFERRALS.


In file included from bind.c:21:
ldap-int.h:180: parse error before `LDAPRequest'
ldap-int.h:182: parse error before `*'
ldap-int.h:182: parse error before `LDAPServer'
ldap-int.h:184: parse error before `*'
ldap-int.h:185: parse error before `LDAPRequest'
ldap-int.h:186: parse error before `LDAPConn'
ldap-int.h:187: parse error before `LDAPConn'

-- 
Hallvard