LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-29-2012, 02:05 PM   #1
MWH
LQ Newbie
 
Registered: Dec 2009
Location: Colombo(SL)
Distribution: Fedora10 and 12
Posts: 22
Blog Entries: 3

Rep: Reputation: 0
Unhappy kernel compilation error


Hi,

I tried to compile 2.6.35.13 kernel as given in this tutorial but um getting an error like this

Code:
  AS      arch/x86/lib/semaphore_32.o
  CC      arch/x86/lib/string_32.o
  CC      arch/x86/lib/strstr_32.o
  AS      arch/x86/lib/thunk_32.o
  CC      arch/x86/lib/usercopy_32.o
  AR      arch/x86/lib/lib.a
  LD      vmlinux.o
  MODPOST vmlinux.o
WARNING: modpost: Found 46 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
arch/x86/built-in.o: In function `sys_call_table':
(.rodata+0x728): undefined reference to `sys_strcpy'
make: *** [.tmp_vmlinux1] Error 1
What can I do to get rid of this problem?
 
Old 08-29-2012, 03:21 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,373

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
Doing LFS, I had that sort of thing when the kernel headers installed were too many versions behind. I would try a fresh version of the tarball first.

To install fresh headers, run make help in the kernel
 
  


Reply



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
Kernel compilation error shariefbe Linux - Newbie 3 10-07-2009 06:39 AM
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
kernel compilation error sumak86@gmail.com Slackware 2 12-06-2005 05:07 PM
kernel compilation error bond_7942 Linux - Newbie 2 02-02-2005 01:14 PM
kernel compilation error bond_7942 Linux - General 1 02-02-2005 04:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:22 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration