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>
index | next in thread | raw e-mail
[-- Attachment #1 --]
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)
[-- Attachment #2 --]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" id="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=10.0,initial-scale=1.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=rtl] li { margin: 0 18px 0 0; } blockquote { border-color: #dfdee1; /* --color--border */ border-style: solid; border-width: 0 0 0 1px; margin: 0; padding: 0 0 0 1em; } [dir=rtl] blockquote, blockquote[dir=rtl] { border-width: 0 1px 0 0; padding: 0 1em 0 0; } pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; /* --font-family--mono */ font-size: 0.9em; margin: 0; padding: 1rem; background-color: #f3f1ef; /* --color-bg--surface */ white-space: pre-wrap; word-wrap: break-word; overflow: visible; } .message-content { font-family: -apple-system, BlinkMacSystemFont, Aptos, Roboto, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; /* --font-family */ line-height: 1.4; } .attachment { display: inline-block; margin: 0; padding: 0; } .attachment__caption { padding: 0; text-align: center; } .attachment__caption a[href] { text-decoration: none; color: #333333; } .attachment--preview { width: 100%; text-align: center; margin: 0.625em 0; } .attachment--preview img { border: 1px solid #dfdee1; /* --color--border */ vertical-align: middle; width: auto; max-width: 100%; max-height: 640px; } .attachment--preview .attachment__caption { color: #716d7b; /* --color-txt--subtle */ font-size: 0.85em; margin-top: 0.625em; } .attachment--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--subtle { color: #716d7b; /* --color-txt--subtle */ } .txt--xx-small { font-size: 14px; } .flush { margin: 0; padding: 0; } .push--bottom { margin-bottom: 8px; } .border--top { border-top: 1px solid #ECE9E6; /* --color-border--solid */ } .btn { padding: 0.2em 0.4em; font-weight: 500; text-decoration: none; border-radius: 3rem; white-space: nowrap; background: #5522FA; /* --color-tertiary */ border-color: #5522FA; color: #ffffff; } .btn--email { 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; color: #ffffff; border-top: 0.3em solid #5522FA; border-left: 1em solid #5522FA; 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-blue 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="message-content">
<div class="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 ‘KVME_FLAG_SYSVSHM’<br> <br>118 | KVME_FLAG_SYSVSHM ? “true : “false”);</div><div><br>/usr/src/usr.bin/procstat/procstat_vm.c:169:25: error: use of undeclared identifier ‘KVME_FLAG_SYSVSHM’<br><br>169 | if ((kve->kve_flags & KVME_FLAG_SYSVSHM) != 0)<br><br>/usr/src/usr.bin/procstat/procstat_vm.c:173:25: error: use of undeclared identifier ‘KVME_FLAG_POSIXSHM’<br><br>173 | if ((kve->kve_flags & KVME_FLAG_POSIXSHM) != 0)</div><div><br></div><div><br></div><div><br></div>
</div>
</div>
</body>
</html>
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d44a8c4a93adf81ff17a5c4552c138dc977a96d7>
