LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem in making zImage of linux kernel 2.6.26.3 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-in-making-zimage-of-linux-kernel-2-6-26-3-a-671729/)

zahidul 09-23-2008 01:59 AM

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..

bigrigdriver 09-23-2008 09:39 AM

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.

zahidul 09-24-2008 03:46 AM

thanks
 
Quote:

Originally Posted by bigrigdriver (Post 3289290)
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


All times are GMT -5. The time now is 04:02 PM.