I was able to turn off smp by following the steps below: 1) go to the kernel source directory 2) type "make menuconfig" 3) Disable the option "Symmetric multi-processing support" inside the "Processor Type and features --->" menu item 4) Save the kernel configuration 5) type "make clean" 6) type "make dep" 7) type "make bzImage" 8) move the new kernel "bzImage" into your boot directory and make all your adjustments (lilo or grub etc...) 9) type "make clean" again 10) type "make modules" 11) type "make modules_install" 12) reboot...
----- Original Message ----- From: "Holden Hao" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 07, 2002 8:34 AM Subject: [plug] Kernel Compile Error > 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] > _ 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]
