LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-28-2001, 01:44 PM   #1
Satnel
LQ Newbie
 
Registered: Apr 2001
Posts: 4

Rep: Reputation: 0

Installed RH 7.1 a couple of days ago and I am pleasantly pleased. Using KDE for the first time and I love it. But now that I'm up and running, it's time to redo the kernel. I have a server running RH 6.2, so I'm familiar with the process. However, when I try to "make bzImage", i get the following:

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

So, my question is, what is the name of the package that contains bzImage?

TIA
Satnel
 
Old 04-28-2001, 04:34 PM   #2
Satnel
LQ Newbie
 
Registered: Apr 2001
Posts: 4

Original Poster
Rep: Reputation: 0
more info

To further clarify, I need the package name so I can install it, and finally build my new kernel.

Thanks
satnel
 
Old 04-28-2001, 08:49 PM   #3
billsabub
Member
 
Registered: Feb 2001
Posts: 109

Rep: Reputation: 15
Satnel,

There isn't a package that contains bzImage. It is a product of your kernel compile.

Your problem may reside with your compiler. RH7.0 was shipped with a bad compiler (gcc). I don't know if 7.1 has fixed the problem, but it's an easy fix for you to do manually. You just have to change the compiler from gcc to kgcc. Just make sure you have the latest egcs package installed.

In the Makefile for your kernel source, change the following line, which is about 18 lines down, including blank lines.

HOSTCC = gcc

Change it to read:

HOSTCC = kgcc

Save the changes and recompile.
 
Old 04-28-2001, 10:12 PM   #4
Satnel
LQ Newbie
 
Registered: Apr 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Hey thanks Bill. Gonna give that a try. I'll repost with results.

Satnel
 
Old 04-30-2001, 12:17 AM   #5
Satnel
LQ Newbie
 
Registered: Apr 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Exclamation UPDATE

Made the change to Makefile. Unfortunately I need more packages installed to use kgcc. I haven't installed them yet due to the missing dependencies. Will work on it later this week. Right now I'm getting use to using KDE, and loving it. Since I've used Linux the past 2 years with no GUI, I didn't realize how fun a GUI is in Linux. I'll repost with an update later.

Satnel
 
Old 05-03-2001, 05:24 AM   #6
Saptech
Member
 
Registered: Nov 2000
Location: Third Stone from the Sun
Distribution: Mageia 7, Devuan & Void Linux
Posts: 172

Rep: Reputation: 40
Compile Question

This is no cure for your problem, but I ran into a compiling situation and maybe someone can give me some advice.

I want to compile my Mandrake 8.0 with the 2.4.4 kernel, and reading the kernel Howto page on compiling it stated to put the kernel tarball file into the /usr/src directory as long as no /usr/src/linux directory is listed there.

But after untarring the source and reading the README file, it say DO NOT put untar it there but to put it in maybe your /home directory.

Now that really confused me, so what do you linux pro's say to this? I need some help with this situation.

thnx.
 
Old 05-03-2001, 12:03 PM   #7
webtoe
Member
 
Registered: Apr 2001
Location: Cambridge, England
Distribution: Slackware 10, Fedora Core 3, Mac OS X
Posts: 617

Rep: Reputation: 30
a cunning plan...

make a new folder in /usr/src/ called 'newkernel'.

untar it there and do the compile etc. there then after restarting and all compile being fine, make sure that the ymbolic link linux points to newkernel

Alex
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
make bzImage BattleAxe_19 Linux - General 4 09-15-2004 03:15 PM
bzImage!!! BattleAxe_19 Linux - General 2 12-22-2003 09:57 AM
bzImage is too small tecknojunky Linux - General 1 05-03-2003 08:35 AM
bzImage.. help unmada Linux - Software 2 06-13-2002 11:59 PM
bzimage jnsc Linux From Scratch 13 04-16-2002 02:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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