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

Re: --enable-dns bugs



At 06:22 PM 3/4/99 +0100, Hallvard B Furuseth wrote:
>What are HFIXEDSZ, INT16SZ and INT32SZ?

Defines from <arpa/nameserv.h> circa 4.x or early, I believe.

Under FreeBSD 3.1, these have been replaced with NS_* macros.
However, <arpa/nameserv_compat.h> provides mapping between
new names (bind 8) and old (bind 4).  <arpa/nameserv.h> always
includes <arpa/nameserv_compat.h> under FreeBSD 3.1.

Under OSF1/alpha, a compat header (if available) may need to
be included or some special define set before including
arpa/nameserv.h (like BIND_4_COMPAT).

Those using this code are encourged to update it.  Code that
is not updated may be considered dead.  configure support for
dead code will be removed.  And, eventually, the actual dead
code will be removed.

Kurt

>openldap-devel on OSF1 Alpha configured with --enable-dns complains:
>
>  Entering subdirectory libldap
>getdxbyname.c:101: 'HFIXEDSZ' undefined, reoccurrences will not be reported
>     p = answer + HFIXEDSZ;
> -----------------^
>getdxbyname.c:119: 'INT16SZ' undefined, reoccurrences will not be reported
>        p += INT16SZ;
>        -----^
>getdxbyname.c:122: 'INT32SZ' undefined, reoccurrences will not be reported
>        p += INT32SZ;
>        -----^
>make[2]: *** [getdxbyname.lo] Error 1
>
>-- 
>Hallvard
>
>