LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-20-2003, 02:28 AM   #1
ffang
Member
 
Registered: Aug 2003
Posts: 31

Rep: Reputation: 15
Angry make zImage error


This is my first time to compile kernel. When I "make zImage" with linux kernel 2.4.20, I got following error. Anyone knows what it means? How to fix it? Does "make zImage" copy the zImage directly to boot sector?

Many thanks!

Ffang

objcopy -O binary -R .note -R .comment -S compressed/vmlinux compressed/vmlinux.out
tools/build bootsect setup compressed/vmlinux.out CURRENT > zImage
Root device is (3, 67)
Boot sector 512 bytes.
Setup is 2520 bytes.
System is 1105 kB
System is too big. Try using bzImage or modules.
make[1]: *** [zImage] Error 1
 
Old 11-20-2003, 03:16 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Why do you want to make a zImage rather than
a bzImage in the first place? ;)


Cheers,
Tink
 
Old 11-20-2003, 02:39 PM   #3
ffang
Member
 
Registered: Aug 2003
Posts: 31

Original Poster
Rep: Reputation: 15
I just follow the instruction from http://www.linuxplanet.com/linuxplanet/tutorials/202/1/ to compile.

What is the difference?
 
Old 11-20-2003, 03:38 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
May I recommend reading the Kernel-HOWTO
on TLDP instead? I have reason to believe that this
tutorial of yours is rather ancient (referring
to kernel-2.2.2 :}) ... I haven't seen a zImage
in quite a while...

Cheers,
Tink
 
Old 11-20-2003, 07:50 PM   #5
ffang
Member
 
Registered: Aug 2003
Posts: 31

Original Poster
Rep: Reputation: 15
I'll read this one later when it is available, now it has been removed for review. Many thanks!
 
Old 11-20-2003, 08:26 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
DOH ... sorry for the inactive link. :(

Chances are it is installed with your
distro (on your HDD that is :}), anyway ...

Have a look at your /usr/doc or /usr/share/doc
directory, check whether there's a HOTWO-
directory somewhere.... :)

Cheers,
Tink
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
not able to port zImage to the hitachi processor abirami Linux - Software 5 04-04-2005 07:32 AM
how to convert zImage to zImage.srec abirami Linux - Software 0 03-07-2005 12:35 AM
What is the different between vmlinux and zImage? alice95089 Linux - Software 1 02-21-2005 03:10 AM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 12:19 PM
error in "make zImage" during 2.6.4 kernel compliation JimBass Linux - Newbie 10 04-02-2004 12:47 AM


All times are GMT -5. The time now is 04:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration