OpenVZ Forum


Home » General » Support » unable to comile kernel (2.6.8) on ubuntu
unable to comile kernel (2.6.8) on ubuntu [message #2847] Sun, 23 April 2006 17:16 Go to previous message
Xandrian is currently offline  Xandrian
Messages: 39
Registered: April 2006
Location: Bayreuth
Member

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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: 64bit CPU on Hardware node :: advantageous when vps is 32bit?
Next Topic: vzpkgcache issue
Goto Forum:
  


Current Time: Mon Nov 18 15:39:24 GMT 2024

Total time taken to generate the page: 0.00400 seconds