Re: header mismatches

From: Alexander Kabaev <ak03_at_gte.com>
Date: Wed, 9 Jul 2003 11:54:50 -0400
On Wed, 09 Jul 2003 18:40:38 +0300
Petri Helenius <pete_at_he.iki.fi> wrote:

> 
> Recent changes in -CURRENT headers seem to have caused some desync:
>  /usr/include/machine/types.h:50: redefinition of `vm_offset_t'
> /usr/include/sys/types.h:250: `vm_offset_t' previously declared here
> /usr/include/machine/types.h:51: redefinition of `vm_ooffset_t'
> /usr/include/sys/types.h:251: `vm_ooffset_t' previously declared here
> /usr/include/machine/types.h:52: conflicting types for `vm_pindex_t'
> /usr/include/sys/types.h:253: previous declaration of `vm_pindex_t'
> /usr/include/machine/types.h:53: redefinition of `vm_size_t'
> /usr/include/sys/types.h:254: `vm_size_t' previously declared here
> /usr/include/machine/types.h:55: redefinition of `register_t'
> /usr/include/sys/types.h:203: `register_t' previously declared here
> /usr/include/machine/types.h:56: redefinition of `u_register_t'
> /usr/include/sys/types.h:237: `u_register_t' previously declared here
> 
> Should those headers agree? For example net-snmp port is broken.
> 
> Pete
> 

machine/types.h was deprecated in favor of sys/types.h:

$ find /usr/include -name types.h
/usr/include/rpc/types.h
/usr/include/sys/types.h


Your /usr/include dir contains stale files.
-- 
Alexander Kabaev
Received on Wed Jul 09 2003 - 06:54:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:14 UTC