Weblog entry #3 for core_prm
#3
errors in "make menuconfig"
Posted by core_prm on Mon 29 Jan 2007 at 10:27
i tried to change kernel by using the http://www.debian-administration.org/articles/202 article...i just install it by using the command aptitude -f install kernel-source-2.6.8 cd /usr/src tar xvfj kernel-source-2.6.8.tar.bz2 make menuconfig then it shows some errors.. then i installed "apt-get install libncurses5-dev"... then i again run make menuconfig but it shows some errors... the messages are shown below HOSTCC /scritps/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 make[1]: *** [scripts/kconfig/mconf.o] error 1 make:***[menuconfig] error 2 thanks in advance
Comments on this Entry
Do you have libncursesw5 and libncursesw5-dev?
[ Parent | Reply to this comment ]
Posted by Anonymous (85.236.xx.xx) on Mon 26 Feb 2007 at 17:24
try 'apt-get install build-essential' then make menuconfig, remembering you have to be logged in as root, obviously. or use sudo if you have it installed.
ie 'sudo make menuconfig'
ie 'sudo make menuconfig'
[ Parent | Reply to this comment ]
Posted by Anonymous (64.139.xx.xx) on Thu 29 Mar 2007 at 04:54
It's GCC 4 related. I solved the problem by downloading a 2.6.20.4 from kernel.org, and using it to make the kernel .deb.
[ Parent | Reply to this comment ]