Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2002 19:43:51 -0800
From:      Alfred Perlstein <bright@mu.org>
To:        Doug Barton <DougB@FreeBSD.org>
Cc:        markm@FreeBSD.org, rwatson@FreeBSD.org, freebsd-current@FreeBSD.org
Subject:   Re: Broken (?) unistd.h
Message-ID:  <20020227034351.GW80761@elvis.mu.org>
In-Reply-To: <20020226191003.T94652-100000@zoot.corp.yahoo.com>
References:  <20020226191003.T94652-100000@zoot.corp.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Doug Barton <DougB@FreeBSD.org> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020227034351.GW80761>