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. 
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

Reply via email to