September 2, 2009

Problem in kernel installation

Forums: 

Hi,

Suse linux is running in my system. I planned to install new kernel in my system. I downloaded new kernel from kernel.org and when i tried to compile it the following error was appeared. Can some one please help me to avoid this error.

Room:/usr/src/linux-2.6.30.5 # make
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CC kernel/bounds.s
In file included from include/linux/compiler-gcc.h:86,
from include/linux/compiler.h:40,
from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:14,
from include/linux/page-flags.h:8,
from kernel/bounds.c:9:
include/linux/compiler-gcc4.h:8:4: error: #error Your version of gcc miscompiles the __weak directive
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
Room:/usr/src/linux-2.6.30.5 #

Thanks in advance.