kern/60997: vm_pindex_t has conflicting definitions in machine/types.h and sys/types.h

Bruce Evans bde at zeta.org.au
Tue Jan 6 23:46:30 PST 2004


On Tue, 6 Jan 2004, Simson L. Garfinkel wrote:

> >Synopsis:       vm_pindex_t has conflicting definitions in machine/types.h and sys/types.h

Your header files are out of date.  <machine/types.h> doesn't exist in
FreeBSD.

> >Description:
> building etherreal from ports doesn't work because there are conflicting definitions for vm_pindex_t:
> ...
> In file included from host/hr_storage.c:36:
> /usr/include/machine/types.h:57: error: conflicting types for `vm_pindex_t'
> /usr/include/sys/types.h:253: error: previous declaration of `vm_pindex_t'
> *** Error code 1

<sys/types.h> or the port seems to be out of date too.  Including the
nonexistent file <machine/types.h> shouldn't be attempted.

Bruce


More information about the freebsd-bugs mailing list