Re: Buildworld stops build - undeclaired identifier

From: Nathan Nasby <nathan.nasby_at_hey.com>
Date: Fri, 11 Oct 2024 01:37:56 UTC
So will doing git reset —hard solve it?

- Nathan

On October 10, 2024, Konstantin Belousov <kostikbel@gmail.com> wrote:
On Wed, Oct 09, 2024 at 06:13:44PM +0000, Nathan Nasby wrote:

> > Hello,
> > 
> > When I try to compile world with the latest source, I get error of
> > undeclared identifiers
> > 
> > /usr/src/usr.bin/procstat/procstat_vm.c:118:7: error: use of
> undeclared
> > identifier ‘KVME_FLAG_SYSVSHM’
> >  
> > 118 |  KVME_FLAG_SYSVSHM ? “true : “false”);
> > /usr/src/usr.bin/procstat/procstat_vm.c:169:25: error: use of
> undeclared
> > identifier ‘KVME_FLAG_SYSVSHM’
> > 
> > 169 | if ((kve->kve_flags & KVME_FLAG_SYSVSHM) != 0)
> > 
> > /usr/src/usr.bin/procstat/procstat_vm.c:173:25: error: use of
> undeclared
> > identifier ‘KVME_FLAG_POSIXSHM’
> > 
> > 173 | if ((kve->kve_flags & KVME_FLAG_POSIXSHM) != 0)
>
> You have the corrupted checkout. sys/sys/user.h is out of date.