Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Make Bzimage, does not work
cyris
post Jun 26 2004, 08:03 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 15
Joined: 4-June 04
From: Canada
Member No.: 3,090



running redhat 6.2 with 2.2.14-5.0. im trying to compile 2.4.26 doing the following steps

cd /usr/src/linux-2.4.26
make mrproper
make menuconfig
make dep
make clean
make bzImage

make bzImage spits out the following error.
make: *** No rule to make target `bzImage'. Stop.

I also tried the following
make vmlinuz
make: *** No rule to make target `vmlinuz'. Stop.

does 6.2 just not have bz2 ?
what can i do?


--------------------
"Your mouse has moved. Windows NT must be restarted for the change to take effect. Reboot now ? [OK]"

Go to the top of the page
 
+Quote Post
Hemant
post Jun 27 2004, 02:50 AM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29



I think you missed the step of making modules...


--------------------
Hemant Kumar
user posted image
hemant@linuxhelp.net
Go to the top of the page
 
+Quote Post
cyris
post Jun 27 2004, 02:52 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 15
Joined: 4-June 04
From: Canada
Member No.: 3,090



thats after make bzImage


--------------------
"Your mouse has moved. Windows NT must be restarted for the change to take effect. Reboot now ? [OK]"

Go to the top of the page
 
+Quote Post
Hemant
post Jun 27 2004, 03:16 AM
Post #4


RMS is my Hero
******

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29



Yeah..true..make modules is after that..Sorry for that..
But kernel compilation had nothing to do with what version of Redhat u are using.

So you have downloaded kernel-2.4 from somewhere..and now you want to install it...Just to make sure that you have not missed something i will repeat the steps..
1.Copy the existing kernel source to somewhere else.
*cd /usr/src
2. rm linux
3.tar -jxf linux-2.4.26.tar.bz2
4.mv linux linux-2.4.26
5.ln -s linux-2.4.26 linux
6. cd linux
7. make xconfig
8. make dep
9. make clean
10. make bzImage
*copy the existing modules somewhere else.
11. make modules
12. make modules_install
13. make install (you may wish not to use this step).
Just follow these steps..and let us see if some error comes up.

but one more thing...your problem looks like as if the makefile is not proper..either your makefile is corrupt or somebody has edited it by hand.Because makefiles are of the format..
CODE
OBJECT=xxx
FLAGS=
......
......
clean:
      rm -rf *.o *~
install:
      cp xyz 123
bzImage:
      cc -DHAVE_CONFIG XYZ

so in your make file..this rule called bzImage is missing.You may try make zImage.

PS:my steps are different than yours.


--------------------
Hemant Kumar
user posted image
hemant@linuxhelp.net
Go to the top of the page
 
+Quote Post
hughesjr
post Jun 27 2004, 07:47 AM
Post #5


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I agree with gethemant, it should not have anything to do with what version of redhat you are using.

make bzImage

should work...where did you get the kernel source from?
------------------
BTW ... that is a Captial i .... not a lowercase L in bzImage ... (you posted it correctly, so you probably did it right, but they look the same in some fonts).
------------------
gethemant ... I'm not sure what your step 4 does

4.mv linux linux-2.4.26

When I unpack the kernel, it is already named linux-2.4.26 ... and linux is normally a link (which you deleted in step 2, and properly recreate in step 5) ... If I don't do your step 4, your directions work perfectly for me ... am I missing something?


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
cyris
post Jun 27 2004, 12:57 PM
Post #6


Whats this Lie-nix Thing?
*

Group: Members
Posts: 15
Joined: 4-June 04
From: Canada
Member No.: 3,090



yup i did all the above steps correctly and I agree with you guys that it shouldnt matter what version im running.
I did the following...

CODE
cat Makefile | grep bzImage

CODE
cat Makefile | grep zImage


both are not even in the makefile, so i think thats a problem.

when i go to save my config file from menuconfig, does it matter what name i give the file?


--------------------
"Your mouse has moved. Windows NT must be restarted for the change to take effect. Reboot now ? [OK]"

Go to the top of the page
 
+Quote Post
hughesjr
post Jun 27 2004, 02:11 PM
Post #7


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



you should name it .config


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
cyris
post Jun 27 2004, 07:34 PM
Post #8


Whats this Lie-nix Thing?
*

Group: Members
Posts: 15
Joined: 4-June 04
From: Canada
Member No.: 3,090



thats what I named my config file. i dont get it. it seems that im doing everything right.


--------------------
"Your mouse has moved. Windows NT must be restarted for the change to take effect. Reboot now ? [OK]"

Go to the top of the page
 
+Quote Post
cyris
post Jun 27 2004, 07:35 PM
Post #9


Whats this Lie-nix Thing?
*

Group: Members
Posts: 15
Joined: 4-June 04
From: Canada
Member No.: 3,090



got my kernel src from kernel.org

im running the sparc release if that helps.


--------------------
"Your mouse has moved. Windows NT must be restarted for the change to take effect. Reboot now ? [OK]"

Go to the top of the page
 
+Quote Post
hughesjr
post Jun 27 2004, 10:32 PM
Post #10


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I have never tried to build a kernel on a sparc machine.

From a help file:
QUOTE
And that's it! Save your configuration and compile with a make vmlinux. There is no make zImage for Sparc. My kernel compiled just fine. I went ahead and adjusted my silo.conf file to point to the new kernel and rebooted.


So ... it looks like sparc does not support compressed kernels....

Learn something new everyday laugh.gif


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Hemant
post Jun 28 2004, 07:37 AM
Post #11


RMS is my Hero
******

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29



Amazing..... biggrin.gif biggrin.gif biggrin.gif


--------------------
Hemant Kumar
user posted image
hemant@linuxhelp.net
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th December 2017 - 06:37 PM