Happen to me when I did :
make dep zImage
You can't do this. You must do make dep and separatedly make zImage.
UCGTechnologies wrote:
> I'm getting an error messege while compiling the RedHat6.1 kernel.
> After executing "make zImage" (or bzImage) the following error appears :
>
> /usr/src/linux/include/linux/kernel_stat.h:44: `smp_num_cpus' undeclared
> (first use in this function)
>
> and the compilation fails.
> This error appears even without any changes in the original kernel
> config.
> The missing variable appears in a file included by the above one, so it
> seems that there should be no problem.
> Any ideas ???
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]