Kernel build problem - 2.6.27.10
Posted: Tue Dec 23, 2008 11:08 am
Hi,
I'm trying to update my kernel from 2.6.26.6-grsec to 2.6.27.10 with grsec. Every time i have the same error message:
[....]
CC [M] net/xfrm/xfrm_ipcomp.o
LD net/xfrm/built-in.o
LD net/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
SYSMAP System.map
make[2]: *** [vmlinux] Error 1
error: /var/tmp/rpm-tmp.25026 (%build)
make[1]: *** [rpm-pkg] Error 1
make: *** [rpm-pkg] Error 2
--------------------------------------------------------------------------
make with CONFIG_DEBUG_SECTION_MISMATCH=y
LD arch/x86/lib/built-in.o
AR arch/x86/lib/lib.a
LD vmlinux.o
MODPOST vmlinux.o
WARNING: vmlinux.o(.cpuinit.data+0x0): Section mismatch in reference from the variable initial_code to the function .init.text:i386_start_kernel()
The variable __cpuinitdata initial_code references
a function __init i386_start_kernel().
If i386_start_kernel is only used by initial_code then
annotate i386_start_kernel with a matching annotation.
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
SYSMAP System.map
make[2]: *** [vmlinux] Error 1
Any suggestions or ideas?
I'm trying to update my kernel from 2.6.26.6-grsec to 2.6.27.10 with grsec. Every time i have the same error message:
[....]
CC [M] net/xfrm/xfrm_ipcomp.o
LD net/xfrm/built-in.o
LD net/built-in.o
LD vmlinux.o
MODPOST vmlinux.o
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
SYSMAP System.map
make[2]: *** [vmlinux] Error 1
error: /var/tmp/rpm-tmp.25026 (%build)
make[1]: *** [rpm-pkg] Error 1
make: *** [rpm-pkg] Error 2
--------------------------------------------------------------------------
make with CONFIG_DEBUG_SECTION_MISMATCH=y
LD arch/x86/lib/built-in.o
AR arch/x86/lib/lib.a
LD vmlinux.o
MODPOST vmlinux.o
WARNING: vmlinux.o(.cpuinit.data+0x0): Section mismatch in reference from the variable initial_code to the function .init.text:i386_start_kernel()
The variable __cpuinitdata initial_code references
a function __init i386_start_kernel().
If i386_start_kernel is only used by initial_code then
annotate i386_start_kernel with a matching annotation.
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD vmlinux
SYSMAP System.map
make[2]: *** [vmlinux] Error 1
Any suggestions or ideas?