Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90]) by krbdev.mit.edu (8.9.3p2) with ESMTP id RAA10690; Mon, 31 Jan 2005 17:42:27 -0500 (EST) Received: from pch.mit.edu (pch.mit.edu [127.0.0.1]) by pch.mit.edu (8.12.8p2/8.12.8) with ESMTP id j0VMfwh7009089 for ; Mon, 31 Jan 2005 17:41:58 -0500 Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.7.7.76]) by pch.mit.edu (8.12.8p2/8.12.8) with ESMTP id j0VMfuh7009084 for ; Mon, 31 Jan 2005 17:41:56 -0500 Received: from mailhost.anl.gov (mailhost.anl.gov [130.202.113.50]) j0VMftY6010954 for ; Mon, 31 Jan 2005 17:41:55 -0500 (EST) Received: from mailhost.anl.gov (localhost [127.0.0.1]) by localhost.ctd.anl.gov (Postfix) with ESMTP id B7D5019C for ; Mon, 31 Jan 2005 16:41:53 -0600 (CST) Received: from [127.0.0.1] (atalanta.ctd.anl.gov [146.137.194.4]) by mailhost.anl.gov (Postfix) with ESMTP id 8AB47146 for ; Mon, 31 Jan 2005 16:41:53 -0600 (CST) Message-Id: <41FEB3A7.9010508@anl.gov> Date: Mon, 31 Jan 2005 16:39:35 -0600 From: "Douglas E. Engert" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: krb5-bugs@mit.edu Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.9 X-Spam-Flag: NO X-Scanned-BY: MIMEDefang 2.42 Subject: krb5-1.4.0 dnsglue.c on Solaris 5.7 missing ns_rr_class X-Beenthere: krb5-bugs-incoming@mailman.mit.edu X-Mailman-Version: 2.1 Precedence: list Sender: krb5-bugs-incoming-bounces@PCH.mit.edu Errors-To: krb5-bugs-incoming-bounces@PCH.mit.edu X-RT-Original-Encoding: us-ascii Content-Length: 818 krb5-1.4.0 compiles but will not link because Solaris 5.7 does not define ns_rr_class in arpa/nameser.h. So ns_rr_class is assumed to be an external program. But ns_rr_cl is defined. Looks like this was the previous name for ns_rr_class. Suggested fix: --- ,dnsglue.c Fri Jan 14 18:10:53 2005 +++ dnsglue.c Mon Jan 31 16:21:03 2005 @@ -172,7 +172,11 @@ if (len < 0) return -1; ds->cur_ans++; +#ifndef ns_rr_class + if (ds->nclass == ns_rr_cl(rr) +#else if (ds->nclass == ns_rr_class(rr) +#endif && ds->ntype == ns_rr_type(rr)) { *pp = ns_rr_rdata(rr); *lenp = ns_rr_rdlen(rr); This compiles, but I have not testd if it works yet. -- Douglas E. Engert Argonne National Laboratory 9700 South Cass Avenue Argonne, Illinois 60439 (630) 252-5444