From owner-freebsd-current Tue Feb 26 19:44: 4 2002 Delivered-To: freebsd-current@freebsd.org Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by hub.freebsd.org (Postfix) with ESMTP id 700C437B400; Tue, 26 Feb 2002 19:43:51 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 4944AAE24F; Tue, 26 Feb 2002 19:43:51 -0800 (PST) Date: Tue, 26 Feb 2002 19:43:51 -0800 From: Alfred Perlstein To: Doug Barton Cc: markm@FreeBSD.org, rwatson@FreeBSD.org, freebsd-current@FreeBSD.org Subject: Re: Broken (?) unistd.h Message-ID: <20020227034351.GW80761@elvis.mu.org> References: <20020226191003.T94652-100000@zoot.corp.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020226191003.T94652-100000@zoot.corp.yahoo.com> User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Doug Barton [020226 19:12] wrote: > The following: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/include/unistd.h.diff?r1=1.46&r2=1.47 > > Broke compilation of bind 8 on -current built 2/24: > > mkdir threaded 2> /dev/null || test -d threaded -a -w threaded > (cc -I../../port/freebsd/include -I../../include -g -Wall -c getgrent.c > -o threaded/getgrent.o ; ld -x -r threaded/getgrent.o -o > threaded/getgrent.out && mv threaded/getgrent.out threaded/getgrent.o) > getgrent.c:107: conflicting types for `getgrouplist' > /usr/include/unistd.h:143: previous declaration of `getgrouplist' > /usr/libexec/elf/ld: cannot open threaded/getgrent.o: No such file or > directory > *** Error code 1 (ignored) > cc -I../../port/freebsd/include -I../../include -g -Wall -c getgrent.c > getgrent.c:107: conflicting types for `getgrouplist' > /usr/include/unistd.h:143: previous declaration of `getgrouplist' > *** Error code 1 > > > Note, I have no idea which is right, only that it used to work.... Vendor should add a configure or #ifdef (based on freebsd_version). -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message