hi,
i am not able to compile a 2.6.8 kernel on ubuntu linux 5.10. if i start a "make menuconfig" i got the following lines:
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
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
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [menuconfig] Error 2
if i make the config manually and tried then to compile it via "make" it get this:
CHK include/linux/version.h
UPD include/linux/version.h
SYMLINK include/asm -> include/asm-x86_64
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
make[2]: *** [scripts/kconfig/mconf.o] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** [include/linux/autoconf.h] Error 2
i searched the internet and other people have the same problem. the makes problem with gcc4. ubuntu uses gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9). there are also some patches but no one realy worked...
so i cannot test the stable version and have to go to the testing which crashed sometimes... (see http://forum.openvz.org/index.php?t=tree&goto=2831&# msg_2831).
cu tb.