Re: Buildworld stops build - undeclaired identifier

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Thu, 10 Oct 2024 10:44:02 UTC
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.