[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#3547) back-dnsserv fails to compile
Full_Name: Seemant Kulleen
Version: 2.3.1alpha
OS: Gentoo Linux on amd64
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (24.147.222.49)
so the compile fails in servers/slapd/back-dnsserv with the following:
search.c: In function `dnssrv_back_search':
search.c:186: error: `ad_dc' undeclared (first use in this function)
search.c:186: error: (Each undeclared identifier is reported only once
search.c:186: error: for each function it appears in.)
search.c:207: error: `ad_associatedDomain' undeclared (first use in this
function)
make[3]: *** [search.lo] Error 1
As a temp fix (as I do not need the dnsserv stuff for a few weeks), I added
these two variable declarations in the dnssrv_back_function under the else
directive (circa line 174):
AttributeDescription *ad_dc = NULL;
AttributeDescription *ad_associatedDomain = NULL;
and it got it to compile. Obviously the if clauses that check the value of
ad_dc and ad_associatedDomain will always go through though, so my fix is
unlikely.