While compiling the kernel I get the following error:

---------------------------------
In file included from ksyms.c:17:
/usr/src/linuskernel/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
/usr/src/linuskernel/linux/include/linux/kernel_stat.h:48: `smp_num_cpus' undeclared 
(first use in this function)
/usr/src/linuskernel/linux/include/linux/kernel_stat.h:48: (Each undeclared identifier 
is reported only once
/usr/src/linuskernel/linux/include/linux/kernel_stat.h:48: for each function it 
appears in.)
make[2]: *** [ksyms.o] Error 1
make[2]: Leaving directory `/usr/src/linuskernel/linux/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linuskernel/linux/kernel'
make: *** [_dir_kernel] Error 2
---------------------------------

I get this error whenever I disable smp capability.  I am using a single processor.  
My system is:

Distro: RH 7.2
Kernel Source: Original kernel 2.4.18
Compiler: gcc-2.96-98
CPU: Single Cyrix 333 Mhz
MEM: 128 Mb

Thanks for any help.


Holden
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to