From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: ldg@ulysium.net Newsgroups: gmane.os.tru64.managers Subject: bind 9 on tru64 Date: Mon, 31 Mar 2003 23:52:55 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1049196213 15087 80.91.224.249 (1 Apr 2003 11:23:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 1 Apr 2003 11:23:33 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Apr 01 13:23:31 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 190JoP-0003gO-00 for ; Tue, 01 Apr 2003 13:20:17 +0200 Original-Received: (qmail 2234 invoked by uid 5); 1 Apr 2003 11:20:09 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 2184 invoked by uid 49493); 1 Apr 2003 11:20:07 -0000 Original-Received: from ldg@ulysium.net by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-2.2/5.0):. Processed in 1.140742 secs); 01 Apr 2003 11:20:07 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 1 Apr 2003 11:20:06 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HCN00L8HEX7AC@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 31 Mar 2003 23:53:33 -0500 (EST) Original-Received: from matrix.ao.net (mail-gw2.ao.net [205.244.242.28]) by emroute1.cind.ornl.gov (PMDF V6.2 #30669) with ESMTPS id <0HCN00M64EWZ9O@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 31 Mar 2003 23:53:25 -0500 (EST) Original-Received: from mail.ao.net (mail.ao.net [205.244.242.23]) by matrix.ao.net (8.12.6/8.12.6/Debian-7) with ESMTP id h314rJU6013434 for ; Mon, 31 Mar 2003 23:53:20 -0500 Original-Received: from [63.79.143.116] (port115.dyn.ao.net [63.79.143.116]) by mail.ao.net (8.12.8/8.12.8/Debian-1) with ESMTP id h314rFUh023340 for ; Mon, 31 Mar 2003 23:53:18 -0500 Original-To: Tru64 Unix managers User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6 Xref: main.gmane.org gmane.os.tru64.managers:3850 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3850 Hello, I compiled bind 9.2.2rc1 recently and now updating to 9.2.2 and I had posted about a problem on the bind list which didn't get any answer. I guess it can also be a tru64 issue, which really should be fixed in bind with the proper guessing of what to do on this platform. I was able to compile bind 9 only after making a few changes to a system header file to avoid the errors and finish the compile process, but obviously this isn't the way it should be fixed and is certainly not a permanent fix either, since those system header files should be returned to normal after bind is compiled. What happens is that 3 variables defined in /usr/include/unistd.h are re-defined again in the bind source in lib/bind/port_after.h lines 366, 371 and 375 in a way that causes an error on compatibility. Those variables are getnetgrent, setnetgrent and innetgr and in /usr/include/unistd.h at lines 703,704 and 720 and they're in an ifdef group of _OSF_SOURCE which obviously must get defined somewhere because those variables are colliding. The only way I could compile all the way is by commenting out those lines in unistd.h so everything else seems to work ok after that. What would be the proper fix for this? (this is on tru64 5.1b) -- Didier Godefroy mailto:dg@ulysium.net