Subject: 19990207 build failed (libc) on sun3
To: Erik E. Fair <>
From: Gordon W. Ross <>
List: current-users
Date: 02/09/1999 02:27:34
Erik E. Fair writes:
 > all ===> libc
 > [...]
 > cc -O2 -DALL_STATE  -Wall -Wstrict-prototypes -Wmissing-prototypes
 > -Wpointer-arith -Werror   -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS
 > -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/lib/libc/include
 > -nostdinc -idirafter /altroot/usr/include -c
 > /usr/src/lib/libc/compat-43/gethostid.c
 > In file included from /altroot/usr/include/vm/vm_object.h:74,
 >                  from /altroot/usr/include/vm/vm.h:83,
 >                  from /altroot/usr/include/sys/sysctl.h:51,
 >                  from /usr/src/lib/libc/compat-43/gethostid.c:48:
 > /altroot/usr/include/vm/vm_page.h:250: field `pmseg' has incomplete type
 > *** Error code 1

In general, any missing typedef for pmap or pmseg stuff like the above
means that some user-level code is using kernel data structs that were
intended to be private to the kernel.  Why on earth does gethostid()
want to know anything about the internals of vm_object???