It looks like you compilation command is going wrong, I am not sure why SYMLINK is linking x86 include's
try make ARCH=arm omapl138_android_defconfig make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage On Thu, Aug 5, 2010 at 7:28 AM, prem raj <[email protected]> wrote: > Dear All, > I am compiling Android Gitorious for OMAP l 138 hawk board. I have > created the file system. While making kernel Image, I am getting the > following error. > > scripts/kconfig/conf -s arch/x86/Kconfig > CHK include/linux/version.h > CHK include/linux/utsrelease.h > SYMLINK include/asm -> include/asm-x86 > CC kernel/bounds.s > cc1: error: unrecognized command line option "-mregparm=3" > kernel/bounds.c:1: error: bad value (i686) for -march= switch > make[1]: *** [kernel/bounds.s] Error 1 > make: *** [prepare0] Error 2 > > I am using ubuntu 9.04 host pc, arm-none-linux-gnueabi-gcc cross > compiler.. i configured the kernel using default configuration found > in kernel/arch/arm/configs/omapl138_android_defconfig file... I could > not find any boot options and command like.. So what should i do to > proceed further without error...?!!! > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-porting > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
