Subject: Re: /usr/include/unistd.h in wich package?
To: Brian Stark <bstark@empros.com>
From: noud de brouwer <noud@pop.knot.nl>
List: netbsd-help
Date: 01/16/1997 02:02:41
>On Thu, 16 Jan 1997, noud de brouwer wrote:
>
>> making src12 it complains about /usr/include/unistd.h
>> is that in the kssrc12 or ssrc12 or somewhere else?
>>
>
>unistd.h is a very basic header file. If you are getting errors about
>that file, you probably don't have your source code installed correctly.

???

>Did you check to see if unistd.h even exists in your /usr/include directory?

it does..but it came with base12.tar.gz and others..
with now i'd like it from a source package.

>I was able to compile NetBSD 1.2 without any problems after I had it
>installed. BTW: actual error messages would help. :-)

here it is (happy happy joy joy):
193# make
cc -O -DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -I/usr/src/lib/libc/include -D__DBIN
TERFACE_PRIVATE -DPOSIX_MISTAKE -DFLOATING_POINT -Werror  -c /usr/src/lib/libc/c
ompat-43/setregid.c
/usr/src/lib/libc/compat-43/setregid.c: In function `setregid':
/usr/src/lib/libc/compat-43/setregid.c:47: argument `rgid' doesn't match prototy
pe
/usr/include/unistd.h:160: prototype declaration
/usr/src/lib/libc/compat-43/setregid.c:47: argument `egid' doesn't match prototy
pe
/usr/include/unistd.h:160: prototype declaration
*** Error code 1

Stop.

but..where does unistd.h live in the source package??
~n