You have messed up the 2.4.x compiling procedure with the 2.6.x compiling procedure. Follow this
Code:
http://www.kernel.org/pub/linux/kernel/v2.6/
# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-x-new.tar.gz
# cp linux-x-new.tar.gz /usr/src
# cd /usr/src
# tar zxf linux-x-new.tar.gz
# cp linux-x-old/.config linux-x-new/.config
# cd linux-x-new
# make oldconfig
# make xconfig or # make menuconfig
# make
# make modules_install
# make install
# reboot