I am new to linux and to Ubuntu. For a University project i have to install a new kernel. Currently i am using Ubuntu and the kernel is '2.6.27-7-generic'. I tried to upgrade the kernel into 'linux-2.6.4'. I downloaded the kernel from kernel.org and extracted it into /usr/src. But when i try to run the command 'make menuconfig' i get the following error. Can someone pls help me to sort this out. Thanks a lot.
Code:
root@hasantha-laptop:/usr/src/linux-2.6.4# make menuconfig
make[1]: `scripts/fixdep' is up to date.
HOSTCC scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: error: static declaration of âcurrent_menuâ follows non-static declaration
scripts/kconfig/lkc.h:63: error: previous declaration of âcurrent_menuâ was here
scripts/kconfig/mconf.c: In function âexec_confâ:
scripts/kconfig/mconf.c:225: warning: ignoring return value of âpipeâ, declared with attribute warn_unused_result
scripts/kconfig/mconf.c: In function âshow_textboxâ:
scripts/kconfig/mconf.c:553: warning: ignoring return value of âwriteâ, declared with attribute warn_unused_result
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [menuconfig] Error 2