Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-26-2003, 03:59 PM   #1
LQ Newbie
Registered: Feb 2003
Posts: 1

Rep: Reputation: 0
Compile kernel error

I have been using Linux for about 2 weeks now and i'm trying to pick it up as fast as possible.
I'm using Mandrake 9.0
I'm trying to compile my own kernel (i'm blindly following Howto's in a search to learn more about Linux). After i'm done with 'make config' i try and 'make dep' but it gives me the

Make: gcc: Command not found
Make: *** [scripts/mkdep] Error 127

I've done a little research in my search to fix this and started reading about gcc. When i try 'which gcc' it says

Which: no gcc in [.....]

I'm assuming that means i dont have a gcc installed? Will i need to install it? is that right? anyone want to give me some tips on installing a kernel?

much thanks
Old 02-26-2003, 05:26 PM   #2
Registered: Sep 2002
Location: .at
Distribution: SuSE, Knoppix
Posts: 532

Rep: Reputation: 31
You need to install the development tools to be able to compile a new kernel.

probably you need "gcc", "make" and "kernel-headers"


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 Compile error JTR Debian 2 08-03-2005 12:54 PM
Compile kernel 2.6.11-2 error subaruwrx Debian 2 03-10-2005 01:10 AM
Kernel Compile error help? GUIPenguin Linux - General 1 01-23-2005 12:25 AM
Kernel compile error theMagus Fedora 2 05-31-2004 03:09 PM
kernel 2.4.24 compile error german Linux - Software 6 01-30-2004 06:31 PM > Forums > Linux Forums > Linux - Newbie

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

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