2002-07-20 22:16:47

by Michael

[permalink] [raw]
Subject: build error when SMP = No

i86 based build of
2.4.19-rc2

When
Symmetric multi-processing support (CONFIG_SMP) [Y/n/?] n

is Yes, everything builds fine.
if No, the following fatal error occurs

/usr/src/linux-2.4.19-rc2.2/include/linux/kernel_stat.h:45:
`smp_num_cpus' undeclared (first use in this function)
/usr/src/linux-2.4.19-rc2.2/include/linux/kernel_stat.h:45: (Each
undeclared identifier is reported only once
/usr/src/linux-2.4.19-rc2.2/include/linux/kernel_stat.h:45: for each
function it appears in.) make[2]: *** [ksyms.o]
Error 1 make[2]: Leaving directory
`/usr/src/linux-2.4.19-rc2.2/kernel' make[1]: *** [first_rule]

Any joy out there??
Michael
[email protected]


2002-07-21 20:24:06

by Bruce Harada

[permalink] [raw]
Subject: Re: build error when SMP = No

On Sat, 20 Jul 2002 15:19:57 -0800
"Michael" <[email protected]> wrote:

> i86 based build of
> 2.4.19-rc2
>
> When
> Symmetric multi-processing support (CONFIG_SMP) [Y/n/?] n
>
> is Yes, everything builds fine.
> if No, the following fatal error occurs
>
[SNIP]
>
> Any joy out there??

make mrproper