LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 03-07-2010, 11:39 PM   #1
ravishekhar.82
Member
 
Registered: Feb 2010
Posts: 30

Rep: Reputation: 15
Question Kernel Compilation Problem


Hi,

I am trying to compile kernel. Getting following:

HK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
`.eh_frame' referenced in section `.text' of /root/linux32/linux-2.6.32.8/lib/gcc/crtbegin.o: defined in discarded section `.eh_frame' of /root/linux32/linux-2.6.32.8/lib/gcc/crtbegin.o
`.eh_frame' referenced in section `.text' of /root/linux32/linux-2.6.32.8/lib/gcc/crtbegin.o: defined in discarded section `.eh_frame' of /root/linux32/linux-2.6.32.8/lib/gcc/crtbegin.o
ld: BFD 2.17.50.0.12-4 20070128 assertion fail ../../bfd/elflink.c:7947
ld: BFD 2.17.50.0.12-4 20070128 assertion fail ../../bfd/elflink.c:7947
drivers/built-in.o: In function `con_init':
vt.c.init.text+0x3ce9): undefined reference to `.L1479'
make: *** [.tmp_vmlinux1] Error 1


Any suggestions, what is wrong.
 
Old 03-07-2010, 11:41 PM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,081

Rep: Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095
Quote:
Originally Posted by ravishekhar.82 View Post
Any suggestions, what is wrong.
I suggest you post more information. What distro? What kernel source? What method are you using to compile? Etc.

Evo2.
 
Old 03-07-2010, 11:48 PM   #3
ravishekhar.82
Member
 
Registered: Feb 2010
Posts: 30

Original Poster
Rep: Reputation: 15
Hi,

I am compiling linux 2.6.32.8 on my fedora 7.
I used
make menuconfig and then
make bzImage.
 
Old 03-07-2010, 11:51 PM   #4
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,081

Rep: Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095Reputation: 1095
Quote:
Originally Posted by ravishekhar.82 View Post
I am compiling linux 2.6.32.8 on my fedora 7.
I'm no Fedora expert but I suspect you'll have many problems building such a recent kernel on such an an old OS. Have you considered upgrading?

Evo2.
 
Old 03-08-2010, 12:24 AM   #5
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,220

Rep: Reputation: 164Reputation: 164
What gcc version?
also make sure your not building the kernel relocatable.
 
Old 03-08-2010, 12:36 AM   #6
ravishekhar.82
Member
 
Registered: Feb 2010
Posts: 30

Original Poster
Rep: Reputation: 15
Question

Quote:
Originally Posted by smeezekitty View Post
What gcc version?
gcc version 3.4.5

Quote:
also make sure your not building the kernel relocatable.
What do you mean by this
 
  


Reply

Tags
compile


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
problem in kernel compilation shariefbe Linux - Newbie 23 11-28-2008 12:05 AM
kernel compilation problem vishalbutte Programming 6 02-07-2006 10:55 PM
problem during kernel compilation!! vishamr2000 Linux - General 6 11-21-2005 05:08 AM
Kernel compilation problem JJX Linux - Software 4 08-31-2005 05:50 AM
kernel compilation problem SirrusX Slackware 8 03-07-2005 07:13 AM


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

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