LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-11-2004, 05:38 AM   #1
Gaweph
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9
Posts: 13

Rep: Reputation: 0
Problem compiling 2.4.22 kernel


I found linux kernel 2.4.22 on a dvd that came with a linux magazine, i decided to put it on my machine which is at the moment runnign 2.4.0

I was able to move it to my home directory adn unpack it.
I did a

Make oldconifg, which seemed to go fine.

At the end it told me to do a Make dep

But when idid this it gave me this error:

[root@localhost linux-2.4.22]# make dep
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c
make:
gcc: Command not found
make: *** [scripts/mkdep]
Error 127
[root@localhost linux-2.4.22]#


And now i cannot move on to compiling it. Any help would be much apreciated
 
Old 03-11-2004, 10:50 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Quote:
gcc: Command not found
this generally means that Gcc is not installed!
 
Old 03-13-2004, 09:47 AM   #3
Gaweph
LQ Newbie
 
Registered: Mar 2004
Distribution: Redhat 9
Posts: 13

Original Poster
Rep: Reputation: 0
Installing gcc 3.3.3.tar

I have downloaded gcc-3.3.3.tar.bz2.

Is there a specific location where i need to unpack it, once this is done what do i do next.

Any help would be much appreciated.

Sorry for asking such basic questions.
 
  


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 compiling problem. Jakalx Debian 5 08-20-2005 10:42 AM
problem compiling kernel. Rarrum Debian 3 03-21-2005 07:57 PM
problem compiling kernel :( djh Slackware 13 11-14-2004 07:45 PM
problem for compiling kernel bush Linux - General 3 05-16-2003 07:06 AM
Problem after compiling the kernel niac Linux - General 3 10-14-2002 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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