LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-11-2008, 10:23 PM   #1
praveen_repelle
Member
 
Registered: Jan 2007
Location: Mumbai
Distribution: Solaris, CentOS
Posts: 42

Rep: Reputation: 15
Kernel Compilation error


Am trying to compile the kernel on Mandriva 2008.

Getting the following error.

<code>
[root@localhost linux-2.6.24]# make menuconfig
HOSTCC scripts/basic/fixdep
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
[root@localhost linux-2.6.24]# which gcc
/usr/bin/gcc
[root@localhost linux-2.6.24]# which gcc-version
/usr/bin/gcc-version
[root@localhost linux-2.6.24]# /usr/bin/gcc-version
4.3
[root@localhost linux-2.6.24]# make xconfig
HOSTCC scripts/basic/fixdep
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
[root@localhost linux-2.6.24]#
</code>
 
Old 02-12-2008, 04:04 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
This should get you started;
http://www.howtoforge.com/kernel_compilation_mandriva
 
  


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
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 03:45 AM
kernel compilation error .. LN85 Linux - Kernel 0 06-28-2007 03:38 AM
Kernel compilation error windycity_linux Red Hat 1 12-17-2006 07:41 AM
kernel compilation error!! vishamr2000 Linux - General 2 05-12-2006 02:20 PM
kernel compilation error bond_7942 Linux - Newbie 2 02-02-2005 01:14 PM


All times are GMT -5. The time now is 02:01 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