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: update Re: bind 9 on tru64 Date: Tue, 01 Apr 2003 13:10:09 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: References: <20030401120016.GA27303@granite.unh.edu> 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 1049220832 4398 80.91.224.249 (1 Apr 2003 18:13:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 1 Apr 2003 18:13:52 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Tue Apr 01 20:13:44 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 190QEK-0000xx-00 for ; Tue, 01 Apr 2003 20:11:29 +0200 Original-Received: (qmail 4380 invoked by uid 5); 1 Apr 2003 18:11:32 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 4356 invoked by uid 49493); 1 Apr 2003 18:11:32 -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(-7.8/5.0):. Processed in 0.431121 secs); 01 Apr 2003 18:11:32 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 1 Apr 2003 18:11:32 -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 <0HCO00LVZFV0WX@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 01 Apr 2003 13:11:30 -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 <0HCO00BMNFTKJ4@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 01 Apr 2003 13:10:34 -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 h31IAVU6025577 for ; Tue, 01 Apr 2003 13:10:33 -0500 Original-Received: from [63.79.143.108] (port107.dyn.ao.net [63.79.143.108]) by mail.ao.net (8.12.9/8.12.9/Debian-1) with ESMTP id h31IASfB008454 for ; Tue, 01 Apr 2003 13:10:30 -0500 In-reply-to: <20030401120016.GA27303@granite.unh.edu> Original-To: Tru64 Unix managers User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6 Xref: main.gmane.org gmane.os.tru64.managers:3856 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3856 Here's a bit of relevant info that I should've given in my previous post: I'm compiling bind 9 with the following options: --with-libtool --with-openssl --enable-libbind --enable-ipv6 --enable-threads I also use --with-randomdev=/dev/urandom but that shouldn't affect this compilation issue. One or more of those options must be turning on the part of the source in bind 9 that calls in those re-definitions of variables, basically the problem is that tru64 5.1b has the following variables defined in an ifdef block of _OSF_SOURCE in /usr/include/unistd.h : extern int getnetgrent __((char **, char **, char **)); extern int innetgr __((char *, char *, char *, char *)); extern void setnetgrent __((char *)); those are lines 703,704 and 720 and those variables are re-defined in bind 9 in the file lib/bind/port_after.h like this: int getnetgrent(const char **machinep, const char **userp, const char **domainp); void setnetgrent(const char *netgroup); int innetgr(const char *netgroup, const char *machine, const char *user, const char *domain); at lines 366, 371 and 375 Those who were able to compile bind 9 on tru64 without encountering this must've not used the same option switches I'm using or have made changes to the source code somehow. The only way I was able to compile bind 9 so far is by commenting out those 3 lines in unistd.h which I restore after bind is compiled, but this is really not the way it should be done, so do we change the bind 9 source code or do we try to undef _OSF_SOURCE somehow??? -- Didier Godefroy mailto:dg@ulysium.net on 4/1/03 7:00 AM, Paul A Sand at pas@unh.edu uttered the following: > > I was able to compile 9.2.2 on my 5.1B (pk1) system with just > > ./configure > make > > This system doesn't have gcc installed.