hi all,
am trying to install the KDB in Redhat linux 2.4 but facing some problems while compiling the patched kernel.
OS: linux 2.4
gcc: 3.2.2
h/w: x86
KDB patches: kdb-v4.2-2.4.20-common-1
kdb-v4.2-2.4.20-i386
after patching i did the make menuconfig and selected the related options under "kernel hacking"
make dep;
make bzImage
make modules
make modules_install
make install
after that am getting following error :
sysctl.c:277: `KERN_KDB' undeclared here (not in a function)
sysctl.c:277: initializer element is not constant
sysctl.c:277: (near initialization for `kern_table[33].ctl_name')
sysctl.c:278: initializer element is not constant
sysctl.c:278: (near initialization for `kern_table[33]')
sysctl.c:280: initializer element is not constant
sysctl.c:280: (near initialization for `kern_table[34]')
make[2]: *** [sysctl.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-8/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/kernel'
make: *** [_dir_kernel] Error 2
regards,
Mansha