Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Oct 2024 18:13:44 +0000
From:      Nathan Nasby <nathan.nasby@hey.com>
To:        freebsd-current@freebsd.org
Subject:   Buildworld stops build - undeclaired identifier
Message-ID:  <d44a8c4a93adf81ff17a5c4552c138dc977a96d7@hey.com>

next in thread | raw e-mail | index | archive | help

----==_mimepart_6706c7d940f5c_554c0182647
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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 =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

169 | if ((kve->kve_flags & KVME_FLAG_SYSVSHM) !=3D 0)

/usr/src/usr.bin/procstat/procstat_vm.c:173:25: error: use of undeclared
identifier =E2=80=98KVME_FLAG_POSIXSHM=E2=80=99

173 | if ((kve->kve_flags & KVME_FLAG_POSIXSHM) !=3D 0)

----==_mimepart_6706c7d940f5c_554c0182647
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>Hello,<br><br>When I try to compile world with the latest source, =
I get error of undeclared identifiers<br><br></div><div>/usr/src/usr.bin/=
procstat/procstat_vm.c:118:7: error: use of undeclared identifier =E2=80=98=
KVME_FLAG_SYSVSHM=E2=80=99<br>=C2=A0<br>118 |=C2=A0 KVME_FLAG_SYSVSHM ? =E2=
=80=9Ctrue : =E2=80=9Cfalse=E2=80=9D);</div><div><br>/usr/src/usr.bin/pro=
cstat/procstat_vm.c:169:25: error: use of undeclared identifier =E2=80=98=
KVME_FLAG_SYSVSHM=E2=80=99<br><br>169 | if ((kve-&gt;kve_flags &amp; KVME=
_FLAG_SYSVSHM) !=3D 0)<br><br>/usr/src/usr.bin/procstat/procstat_vm.c:173=
:25: error: use of undeclared identifier =E2=80=98KVME_FLAG_POSIXSHM=E2=80=
=99<br><br>173 | if ((kve-&gt;kve_flags &amp; KVME_FLAG_POSIXSHM) !=3D 0)=
</div><div><br></div><div><br></div><div><br></div>
</div>


    </div>
  </body>
</html>

----==_mimepart_6706c7d940f5c_554c0182647--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d44a8c4a93adf81ff17a5c4552c138dc977a96d7>