Root compile error

Discussion in 'Android Devices' started by zacwhite15, Aug 19, 2010.

  1. zacwhite15

    zacwhite15 Well-Known Member
    18

    Jun 25, 2010
    74
    12
    18
    IT Support Specialist, Unisys
    Millcreek Township, UT
    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
     

    Advertisement

  2. brandas

    brandas Member
    6

    Aug 12, 2010
    9
    1
    6
    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.
     
Tags:

Share This Page

Loading...