2.6.32.7 buserror's site

davef
As someone managed to get this to compile could anyone tell me what this
error is, right at the beginning of the make process:

***
davef@Ubuntu:~/mini2440-bootstrap/kernel/mini2440$ sudo make ARCH=arm
O=../../kernel-bin/ -j4
  CHK     include/linux/version.h
  GEN     /home/davef/mini2440-bootstrap/kernel-bin/Makefile
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
make[2]: `include/asm-arm/mach-types.h' is up to date.
  Using /home/davef/mini2440-bootstrap/kernel/mini2440 as source for kernel
  HOSTCC  scripts/conmakehash
  CC      scripts/mod/empty.o
cc1: error: unrecognized command line option "-mlittle-endian"
cc1: error: unrecognized command line option "-mabi=aapcs-linux"
cc1: error: unrecognized command line option "-mno-thumb-interwork"
/home/davef/mini2440-bootstrap/kernel/mini2440/scripts/mod/empty.c:1:
error: bad value (armv4t) for -march= switch
/home/davef/mini2440-bootstrap/kernel/mini2440/scripts/mod/empty.c:1:
error: bad value (arm920t) for -mtune= switch
  HOSTCC  scripts/mod/mk_elfconfig
make[3]: *** [scripts/mod/empty.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/mod] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [scripts] Error 2
make: *** [sub-make] Error 2
***

Looks like environment variables, but haven't changed those since
successfully compiling 2.6.32rc8 from buserror's site

Also, does your .config report this as 2.6.32rc8, rather than the expected
2.6.32.7?

Thanks
Dave

bhavesh
hi

I have found same, please do needful as soon as possible

Regards
Bhavesh Dholariya

davef
I moved to another kernel or method of building from "scratch".

I'd suggest playing around with this:

http://www.oselas.org/oselas/bsp/pengutronix/mini2440_bsp_en.html

unless you have some specific reasons for using an old kernel.