issuse in compiling kernel 2.6.36 version on ubuntu

Asked by Jagadeesh

Hi all
I'm trying to compile kernel to create a new kernel image
i got following errors ....

root@ubuntu:/usr/src# cd linux-2.6.36/
root@ubuntu:/usr/src/linux-2.6.36# make
  CHK include/linux/version.h
  CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
  CC kernel/bounds.s
cc1: error: unrecognized command line option ‘-mlittle-endian’
cc1: error: unrecognized command line option ‘-mapcs’
cc1: error: unrecognized command line option ‘-mno-sched-prolog’
kernel/bounds.c:1:0: error: unknown ABI (apcs-gnu) for -mabi= switch
kernel/bounds.c:1:0: error: bad value (armv4t) for -march= switch
kernel/bounds.c:1:0: error: bad value (arm9tdmi) for -mtune= switch
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
root@ubuntu:/usr/src/linux-2.6.36#

also help me to assign name for kernel image ,.....................

please help me to fix this......

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Solved by:
Jagadeesh
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of:

lsb_release -a; uname -a

Thanks

Revision history for this message
Jagadeesh (v-jagadeesh89) said :
#3

the output for the above commands is

root@ubuntu:/usr/src# lsb_release
No LSB modules are available.
root@ubuntu:/usr/src# uname -a
Linux ubuntu 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011 i686 i686 i386 GNU/Linux
root@ubuntu:/usr/src#

thank you ......

Revision history for this message
Jagadeesh (v-jagadeesh89) said :
#4

my problem was solved .......
the problem was i'm trying to compile 2.3.36 Version on 3.0.10............