LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kernel modpost mismatch (https://www.linuxquestions.org/questions/linux-software-2/kernel-modpost-mismatch-702100/)

Undeadzz 02-03-2009 09:50 PM

kernel modpost mismatch
 
trying to build my kernel for old amd athlon xp k7 and i keep getting this error about modules.dep not being able to load when i try to run the kernel. it ends up getting stuck.
this is what happened when i tried: make CONFIG_DEBUG_SECTION_MISMATCH=y
.....
CC arch/x86/lib/string_32.o
CC arch/x86/lib/strstr_32.o
CC arch/x86/lib/usercopy_32.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
.....


All times are GMT -5. The time now is 12:17 PM.