LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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: 58
This should get you started;
http://www.howtoforge.com/kernel_compilation_mandriva
 
  


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: 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:55 AM.

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