Date: Fri, 11 Oct 2024 01:37:56 +0000 From: Nathan Nasby <nathan.nasby@hey.com> To: Konstantin Belousov <kostikbel@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Buildworld stops build - undeclaired identifier Message-ID: <6c3c140c52ee272fd7c85c843bc50506e9c5a32a@hey.com> In-Reply-To: <Zwev8ndXbC3hzd2w@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
----==_mimepart_67088174bb671_5e4c01824773 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable So will doing git reset =E2=80=94hard 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, > >=C2=A0 > > When I try to compile world with the latest source, I get error of > > undeclared identifiers > >=C2=A0 > > /usr/src/usr.bin/procstat/procstat_vm.c:118:7: error: use of > undeclared > > identifier =E2=80=98KVME_FLAG_SYSVSHM=E2=80=99 > > =C2=A0 > > 118 |=C2=A0 KVME_FLAG_SYSVSHM ? =E2=80=9Ctrue : =E2=80=9Cfalse=E2=80=9D= ); > > /usr/src/usr.bin/procstat/procstat_vm.c:169:25: error: use of > undeclared > > identifier =E2=80=98KVME_FLAG_SYSVSHM=E2=80=99 > >=C2=A0 > > 169 | if ((kve->kve_flags & KVME_FLAG_SYSVSHM) !=3D 0) > >=C2=A0 > > /usr/src/usr.bin/procstat/procstat_vm.c:173:25: error: use of > undeclared > > identifier =E2=80=98KVME_FLAG_POSIXSHM=E2=80=99 > >=C2=A0 > > 173 | if ((kve->kve_flags & KVME_FLAG_POSIXSHM) !=3D 0) > > You have the corrupted checkout. sys/sys/user.h is out of date. ----==_mimepart_67088174bb671_5e4c01824773 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html> <html> <head> <meta charset=3D"utf-8"> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf= -8" /> <meta name=3D"viewport" id=3D"viewport" content=3D"width=3Ddevice-wid= th,minimum-scale=3D1.0,maximum-scale=3D10.0,initial-scale=3D1.0" /> <style> html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; = } h1 { font-size: 1.3em; line-height: 1.2; margin: 0; } ul, ol { margin: = 0; padding: 0; } ul li, ol li, li li { margin: 0 0 0 36px; } [dir=3Drtl] = li { margin: 0 18px 0 0; } blockquote { border-color: #dfdee1; /* --color= --border */ border-style: solid; border-width: 0 0 0 1px; margin: 0; padd= ing: 0 0 0 1em; } [dir=3Drtl] blockquote, blockquote[dir=3Drtl] { border-= width: 0 1px 0 0; padding: 0 1em 0 0; } pre { font-family: "SFMono-Regula= r", Consolas, "Liberation Mono", Menlo, Courier, monospace; /* --font-fam= ily--mono */ font-size: 0.9em; margin: 0; padding: 1rem; background-color= : #f3f1ef; /* --color-bg--surface */ white-space: pre-wrap; word-wrap: br= eak-word; overflow: visible; } .message-content { font-family: -apple-sys= tem, BlinkMacSystemFont, Aptos, Roboto, "Segoe UI", Helvetica, Arial, san= s-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; /* --f= ont-family */ line-height: 1.4; } .attachment { display: inline-block; ma= rgin: 0; padding: 0; } .attachment__caption { padding: 0; text-align: cen= ter; } .attachment__caption a[href] { text-decoration: none; color: #3333= 33; } .attachment--preview { width: 100%; text-align: center; margin: 0.6= 25em 0; } .attachment--preview img { border: 1px solid #dfdee1; /* --colo= r--border */ vertical-align: middle; width: auto; max-width: 100%; max-he= ight: 640px; } .attachment--preview .attachment__caption { color: #716d7b= ; /* --color-txt--subtle */ font-size: 0.85em; margin-top: 0.625em; } .at= tachment--file { color: #282138; /* --color-txt */ line-height: 1; margin= : 0 2px 2px 0; padding: 0.4em 1em; border: 1px solid #dfdee1; /* --color-= -border */ border-radius: 5px; } .permalink { color: inherit; } .txt--sub= tle { color: #716d7b; /* --color-txt--subtle */ } .txt--xx-small { font-s= ize: 14px; } .flush { margin: 0; padding: 0; } .push--bottom { margin-bot= tom: 8px; } .border--top { border-top: 1px solid #ECE9E6; /* --color-bord= er--solid */ } .btn { padding: 0.2em 0.4em; font-weight: 500; text-decora= tion: none; border-radius: 3rem; white-space: nowrap; background: #5522FA= ; /* --color-tertiary */ border-color: #5522FA; color: #ffffff; } .btn--e= mail { display: inline-block; text-align: center; font-weight: 500; font-= size: 1em; text-decoration: none; border-radius: 2em; white-space: nowrap= ; background: #5522FA; /* --color-tertiary */ border-color: #5522FA; colo= r: #ffffff; border-top: 0.3em solid #5522FA; border-left: 1em solid #5522= FA; border-bottom: 0.3em solid #5522FA; border-right: 1em solid #5522FA; = } .shaded { padding: 1em; border-radius: 4px; background-color: #f6f5f3; = /* --color-bg--surface */ border: 1px solid #dfdee1; /* --color--border *= / } .shaded--blue { background-color: rgba(80, 162, 255, 0.2); /* --rgb-b= lue 0.2 */ } .shaded--red { background-color: rgba(255, 120, 120, 0.2); /= * --rgb-red 0.2 */ } .strikethrough { text-decoration: line-through; } </style> </head> <body> <div class=3D"message-content"> <div class=3D"trix-content"> <div>So will doing git reset =E2=80=94hard solve it?<br><br>- Nathan<br= ><br></div><div>On October 10, 2024, Konstantin Belousov <kostikbel@gm= ail.com> wrote:</div><div>On Wed, Oct 09, 2024 at 06:13:44PM +0000, Na= than Nasby wrote:<br><br></div><blockquote>> Hello,<br>>=C2=A0<br>&= gt; When I try to compile world with the latest source, I get error of<br= >> undeclared identifiers<br>>=C2=A0<br>> /usr/src/usr.bin/procs= tat/procstat_vm.c:118:7: error: use of undeclared<br>> identifier =E2=80= =98KVME_FLAG_SYSVSHM=E2=80=99<br>> =C2=A0<br>> 118 |=C2=A0 KVME_FLA= G_SYSVSHM ? =E2=80=9Ctrue : =E2=80=9Cfalse=E2=80=9D);<br>> /usr/src/us= r.bin/procstat/procstat_vm.c:169:25: error: use of undeclared<br>> ide= ntifier =E2=80=98KVME_FLAG_SYSVSHM=E2=80=99<br>>=C2=A0<br>> 169 | i= f ((kve->kve_flags & KVME_FLAG_SYSVSHM) !=3D 0)<br>>=C2=A0<br>&= gt; /usr/src/usr.bin/procstat/procstat_vm.c:173:25: error: use of undecla= red<br>> identifier =E2=80=98KVME_FLAG_POSIXSHM=E2=80=99<br>>=C2=A0= <br>> 173 | if ((kve->kve_flags & KVME_FLAG_POSIXSHM) !=3D 0)<b= r><br>You have the corrupted checkout. sys/sys/user.h is out of date.</bl= ockquote> </div> </div> </body> </html> ----==_mimepart_67088174bb671_5e4c01824773--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6c3c140c52ee272fd7c85c843bc50506e9c5a32a>