LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-23-2008, 02:59 AM   #1
zahidul
LQ Newbie
 
Registered: Sep 2008
Posts: 21

Rep: Reputation: 15
problem in making zImage of linux kernel 2.6.26.3


hi all,

i have been trying to compile linux 2.6.26.3. but when i type the command make zImage following message occured :

[zahid@localhost linux-2.6.26.3]$ sudo make zImage
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CC kernel/bounds.s
In file included from include/linux/stddef.h:4,
from include/linux/posix_types.h:4,
from include/linux/types.h:11,
from include/linux/page-flags.h:8,
from kernel/bounds.c:9:
include/linux/compiler.h:44: #error Sorry, your compiler is too old/not recognized.
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2

there is no problem with the compiler version as it is latest...
plzz help me out..
 
Old 09-23-2008, 10:39 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,877

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Quote:
include/linux/compiler.h:44: #error Sorry, your compiler is too old/not recognized.
Quote:
there is no problem with the compiler version as it is latest...
plzz help me out..
There are two parts to the error message: *too old* and *not recognized*. You indicate that your compiler is the latest, but you give us no indication of which distro or which compiler you are using. So, the *not recognized* part may be the problem.

Suggestion: inspect your makefile. Which compiler will it look for? Where will it look for your compiler? It may be that your compiler is installed in one location, and the makefile looks in another. Editing the makefile could repair that problem.
 
Old 09-24-2008, 04:46 AM   #3
zahidul
LQ Newbie
 
Registered: Sep 2008
Posts: 21

Original Poster
Rep: Reputation: 15
thanks

Quote:
Originally Posted by bigrigdriver View Post
There are two parts to the error message: *too old* and *not recognized*. You indicate that your compiler is the latest, but you give us no indication of which distro or which compiler you are using. So, the *not recognized* part may be the problem.

Suggestion: inspect your makefile. Which compiler will it look for? Where will it look for your compiler? It may be that your compiler is installed in one location, and the makefile looks in another. Editing the makefile could repair that problem.
thanks 4 d reply
 
  


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
get Kernel source form its zImage ra2008 Linux - Newbie 2 07-24-2008 09:28 AM
problem after making kernel on a dell 630 inspiron with FC4 ulssneos Linux - Laptop and Netbook 3 05-04-2006 12:17 AM
how to convert zImage to zImage.srec abirami Linux - Software 0 03-07-2005 12:35 AM
error in "make zImage" during 2.6.4 kernel compliation JimBass Linux - Newbie 10 04-02-2004 12:47 AM
kernel making me quit linux DAChristen29 Linux - Software 8 12-31-2002 02:24 AM


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