LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-29-2010, 03:40 AM   #1
hellohello008
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Rep: Reputation: 0
How to build kernel with 'make CONFIG_DEBUG_SECTION_MISMATCH=y'? I use ltib to buid


I use ltib for mpc8272ads.

How to build kernel with 'make CONFIG_DEBUG_SECTION_MISMATCH=y'?

Thanks for help.
 
Old 04-30-2010, 01:52 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,180

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
like anything else, set it in 'make menuconfig.' It's in the kernel hacking section and is not for all processors

Read the kernel Readme.
 
Old 05-04-2010, 03:59 AM   #3
hellohello008
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Original Poster
Rep: Reputation: 0
I did not find option CONFIG_DEBUG_SECTION_MISMATCH in kernel hacking section. But compiler gives warning to set option CONFIG_DEBUG_SECTION_MISMATCH=y,
I have spend a whole day to search for kernel help. Now I find something in \Documentation\DocBook\.
It seems I'll read a lot of things.
OK, read these first.

Last edited by hellohello008; 05-04-2010 at 04:34 AM.
 
Old 05-05-2010, 09:24 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,180

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
Try

cd /usr/src/linux-*/arch
grep -nr CONFIG_DEBUG_SECTION_MISMATCH *

What cpu are you building for? This comes up in the architecture-specific sections. I find it listed for arm, and blackfin (whassat?). It's also in a few Makefiles and oddball scripts. Enjoy - it may be a bogus error message.
 
  


Reply


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
64Studio realtime kernel and debian lenny realtime module buid error? stratotak Linux - Newbie 0 01-30-2009 10:57 PM
make CONFIG_DEBUG_SECTION_MISMATCH=y kaz2100 Linux - Kernel 4 11-22-2008 06:06 AM
Build kernel errors from make newtovanilla Linux - Newbie 8 05-01-2008 08:50 AM
kernel build using make-kpkg fails GhostCow Ubuntu 2 01-07-2008 01:18 PM
Kernel, patch, optimize, buid, install Hexane Mandriva 3 01-27-2005 01:35 AM


All times are GMT -5. The time now is 06:50 AM.

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