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

Re: (ITS#3547) back-dnsserv fails to compile



That's already fixed in HEAD; the declarations of those ariables were
missing from proto-dnssrv.h (see ITS#3531).

p.

> 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.
>


-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497