• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root compile error

zacwhite15

Member
hey guys i feel like an idiot, i keep getting this error when i attempt to compile a kernel for the ally. i am trying to take the .config file from the ally and incorporate it into the CM source.... can anyone help?

zacwhite15@zacwhite15:~/mydroid/androkern/cm-kernel$ make ARCH=arm CROSS_COMPILE=$CCOMPILER
scripts/kconfig/conf -s arch/arm/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Generating include/generated/mach-types.h
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"
cc1: error: unrecognized command line option "-mabi=apcs-gnu"
kernel/bounds.c:1: error: bad value (armv4t) for -march= switch
kernel/bounds.c:1: error: bad value (arm9tdmi) for -mtune= switch
make[1]: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
 
type echo $CCOMPILER - what does it show? It looks like it's trying to comile with the native gcc instead of the arm cross compiler.
 
Back
Top Bottom