On Tue, 30 Nov 1999 [EMAIL PROTECTED] wrote:
> Hiya folks,
>
> I was working on the problem I mentioned yesterday, in which I couldn't
> get the kernel to boot, and I think I've found the problem -- it compiled
> the modules but not the actual kernel. The kernel compile fails (on the
> make bzImage) with an error in ./include/linux/kernel_stat.h, saying that
> smp_num_cpus is undefined. There's a 'for' statement at the end of
> kernel_Stat.h (about line 44) that is causing the problem; if I comment
> it out, it compiles, though I'm not actually at my machine to reboot it.
Don't run procinfo, i'm not sure what else you broke but a
(cp .config ../ ; make mrproper ; mv ../.config ./ ; make dep)
Should clear it up. If it was only this one occurence it would be a pretty
clear indicator.
> This happened on two machines, so I'm wondering if it's a problem with
> the update RPM linux source? I'm not comfortable commenting/altering the
> kernel source, so would rather someone who knows what they're doing say
> something about this.
>
> FYI, I simply defined smp_num_cpus to '1', so the function would return
> something, since it is used later on in the source.
>
> -Sam
>
--
MandrakeSoft http://www.mandrakesoft.com/
--Axalon