compile error


Last Updated:

  1. zacwhite15

    zacwhite15 Well-Known Member This Topic's Starter

    Joined:
    Jun 25, 2010
    Messages:
    74
    Likes Received:
    12
    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

    Joined:
    Aug 12, 2010
    Messages:
    9
    Likes Received:
    1
    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.
     

Share This Page

Loading...