NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled



It seems to include uvm_extern.h for struct uvmexp and struct uvmexp_sysctl.

2016-02-02 22:58 GMT+09:00 Christos Zoulas <christos%zoulas.com@localhost>:
> On Feb 2, 11:05am, martin%duskware.de@localhost (Martin Husemann) wrote:
> -- Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
>
> | The following reply was made to PR bin/50744; it has been noted by GNATS.
> |
> | From: Martin Husemann <martin%duskware.de@localhost>
> | To: gnats-bugs%NetBSD.org@localhost
> | Cc:
> | Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
> | Date: Tue, 2 Feb 2016 12:02:18 +0100
> |
> |  On Tue, Feb 02, 2016 at 07:45:00AM +0000, nonakap%gmail.com@localhost wrote:
> |  > When net-snmp build, the following message was displayed.
> |  > It was caused by the recent "Hide {p,v}{addr,size}_t and register_t" changes.
> |
> |  Add
> |
> |  #define _KMEMUSER      /* NetBSD hides many types for regular userland */
> |
> |  before the first include in that file.
>
> Or -D_KERNTYPES for less exposed headers. But the interesting question is
> why net-snmp wants from uvm_extern.h and should less of the header be exposed
> by default if stuff it needs is there?
>
> christos


Home | Main Index | Thread Index | Old Index