[259] in Hesiod
Re: C_HS and T_TXT unknown
daemon@ATHENA.MIT.EDU (Alexander Seth Jones)
Wed Mar 22 17:52:02 1995
To: Amit Bhatiani <bhatiani_amit@jpmorgan.com>
Cc: hesiod@MIT.EDU
In-Reply-To: Your message of "Wed, 22 Mar 1995 16:50:54 EST."
<199503222150.QAA08926@vega.ny.jpmorgan.com>
Date: Wed, 22 Mar 1995 17:54:06 -0500
From: Alexander Seth Jones <ajones@ctron.com>
>>
>> I am trying to compile the Hesiod distribution and hesiod.c fails in
>> hes_resolve with errors saying C_HS and T_TXT are undefined. They are in
>> fact, NOT defined anywhere. This is in the call to _resolv.
>>
>> Where are these supposed to be defined?
>>
>> I am compiling on SunOS 4.1.3 with gcc.
>>
>> please reply to me directly as I am not on this list.
>>
>> Thanks in advance,
>>
>> --amit
>> bhatiani_amit@jpmorgan.com
>>
You need DNS/BIND 4.8.3 or later. SunOS 4.x ships with an older version of
named, libresolv, and associated header files. New BIND stuff can be gotten
from ftp.uu.net. Those macros (T_TXT and C_HS) are defined in
"/usr/include/arpa/nameser.h"
Installing BIND on a Sun is tricky. I suggest getting O'Reilly's DNS/BIND
book, if you don't already have it; they show you how to get everything working
on a Sun plus other systems.
Hope this helps.
Alex
#############################################################################
# #
# Alexander S. Jones - ATM UNI Signalling | #
# Cabletron Systems, Inc. | Alexander S. Jones #
# P.O. Box 5005 | 5 Jady Hill Ave. #
# Rochester, New Hampshire 03866-5005 | Exeter, New Hampshire 03833 #
# U.S.A | U.S.A #
# 603-337-7223 | 603-772-2790 #
# | #
# E-Mail: ajones@ctron.com | #
# #
#############################################################################