Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-03-2009, 09:50 PM   #1
LQ Newbie
Registered: Apr 2008
Posts: 28

Rep: Reputation: 16
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( 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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile linux kernel error: WARNING: modpost: Found 1 section mismatch(es) xmzhu Linux - Kernel 9 04-29-2011 02:14 AM
What is a kernel section mismatch C-Sniper Linux - Kernel 4 08-10-2008 12:09 AM
new kernel mismatch with gcc??? JNaas Linux - Newbie 4 10-18-2004 10:59 AM
Kernel mismatch vedion Linux - General 1 03-31-2004 03:48 AM
Sounddriver Kernel Mismatch ti_alk Linux - Hardware 1 11-25-2003 03:59 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration