[322369] buildkernel failure: error: use of undeclared identifier 'mp_ncpus'

Ryan Libby rlibby at freebsd.org
Thu Aug 10 17:58:11 UTC 2017


On Thu, Aug 10, 2017 at 9:51 AM, O. Hartmann <ohartmann at walstatt.org> wrote:
> r322369 fails to build a kernel due to:
>
>
> --- mptable.o ---
> /usr/src/sys/x86/x86/mptable.c:480:39: error: use of undeclared identifier 'mp_ncpus'
>                     proc->apic_id < MAX_LAPIC_ID && mp_ncpus < MAXCPU) {
>                                                     ^
> /usr/src/sys/x86/x86/mptable.c:481:4: error: use of undeclared identifier 'mp_ncpus'
>                         mp_ncpus++;
>                         ^
> /usr/src/sys/x86/x86/mptable.c:482:4: error: use of undeclared identifier 'mp_maxid'
>                         mp_maxid = mp_ncpus - 1;
>                         ^
> /usr/src/sys/x86/x86/mptable.c:482:15: error: use of undeclared identifier 'mp_ncpus'
>                         mp_maxid = mp_ncpus - 1;
>                                    ^
> 8 errors generated.
> *** [mptable.o] Error code 1
>

Yes, emaste identified this as related to r322347:
https://lists.freebsd.org/pipermail/svn-src-head/2017-August/103426.html


More information about the freebsd-current mailing list