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

From: Ryan Libby <rlibby_at_freebsd.org>
Date: Thu, 10 Aug 2017 10:26:08 -0700
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
Received on Thu Aug 10 2017 - 15:58:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC