[root@ps0341 src]# ls -al
total 20
drwxr-xr-x 5 root root 4096 Jun 22 04:28 .
drwxr-xr-x 16 root root 4096 Jan 16 05:33 ..
drwxr-xr-x 2 root root 4096 Jan 25 2003 debug
lrwxrwxrwx 1 root root 17 Jun 22 04:28 linux-2.4 -> linux-2.4.20-30.9
drwxr-xr-x 16 root root 4096 Jun 22 04:34 linux-2.4.20-30.9
drwxr-xr-x 7 root root 4096 Jan 13 00:58 redhat
--------------------------------------------------------------
Thanks for your help. I succesfully compiled the kernel and even rebooted into it. My mistake was I had not done make oldconfig.
Now I have another problem. I installed a wrong patch for kdb (kdb-v4.4-2.6.6, instead of kdb-v4.3-2.4.20). The patch did not install properly there were .rej files. But I still compiled the kernel succesfully. Now since kdb did not work I reinstalled the kernel source (even deleted directory linux-2.4.20-30.9 in /usr/src). But now the "make modules" exits with errors like below:
--------------------------------------------------------------------
manu such error before this......
/usr/src/linux-2.4.20-30.9/include/net/dst.h: In function `dst_set_expires':
/usr/src/linux-2.4.20-30.9/include/net/dst.h:149: `jiffies_Rsmp_0da02d67' undeclared (first use in this function)
In file included from cipe.h:69,
from module.c:15:
/usr/src/linux-2.4.20-30.9/include/net/sock.h: In function `sk_filter_release':
/usr/src/linux-2.4.20-30.9/include/net/sock.h:959: warning: implicit declaration of function `kfree_Rsmp_037a0cba'
/usr/src/linux-2.4.20-30.9/include/net/sock.h: In function `sock_orphan':
/usr/src/linux-2.4.20-30.9/include/net/sock.h:1041: `do_softirq_Rsmp_f0a529b7' undeclared (first use in this function)
/usr/src/linux-2.4.20-30.9/include/net/sock.h: In function `sock_graft':
/usr/src/linux-2.4.20-30.9/include/net/sock.h:1050: `do_softirq_Rsmp_f0a529b7' undeclared (first use in this function)
/usr/src/linux-2.4.20-30.9/include/net/sock.h: In function `sock_recv_timestamp':
/usr/src/linux-2.4.20-30.9/include/net/sock.h:1293: warning: implicit declaration of function `put_cmsg_Rsmp_f39bf4d9'
module.c: In function `cipe_check_kernel':
module.c:73: warning: implicit declaration of function `printk_Rsmp_1b7d4074'
make[3]: *** [module.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-30.9/drivers/addon/cipe'
make[2]: *** [_modsubdir_cipe] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-30.9/drivers/addon'
make[1]: *** [_modsubdir_addon] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-30.9/drivers'
make: *** [_mod_drivers] Error 2
-------------------------------------------------------------
thanks,
Vibha