Compiling Ubuntu Touch for Xiaomi Redmi 2



  • I'm compiling ubuntu touch for redmi 2. Using this kernel
    While compiling kernel following error occurs.

    CC drivers/crypto/msm/qcedev.o
    CC drivers/crypto/msm/qce50.o
    LD drivers/crypto/msm/built-in.o
    drivers/crypto/msm/qce50.o: file not recognized: File truncated
    ~/phablet/kernel/xiaomi/msm8916/scripts/Makefile.build:387: recipe for target 'drivers/crypto/msm/built-in.o' failed
    make[5]: *** [drivers/crypto/msm/built-in.o] Error 1
    ~/phablet/kernel/xiaomi/msm8916/scripts/Makefile.build:455: recipe for target 'drivers/crypto/msm' failed
    make[4]: *** [drivers/crypto/msm] Error 2
    ~/phablet/kernel/xiaomi/msm8916/scripts/Makefile.build:455: recipe for target 'drivers/crypto' failed
    make[3]: *** [drivers/crypto] Error 2
    ~/phablet/kernel/xiaomi/msm8916/Makefile:799: recipe for target 'drivers' failed
    make[2]: *** [drivers] Error 2
    Makefile:130: recipe for target 'sub-make' failed
    make[1]: *** [sub-make] Error 2
    make[1]: Leaving directory '~/phablet/kernel/xiaomi/msm8916'
    build/core/tasks/kernel.mk:250: recipe for target 'TARGET_KERNEL_BINARIES' failed
    make: *** [TARGET_KERNEL_BINARIES] Error 2
    make: *** Waiting for unfinished jobs....


  • Administrators

    Hi

    Sorry for late respond, I have been really busy lightly.

    since this was 11 days ago, do you still need help?

    this is the problem:
    drivers/crypto/msm/qce50.o: file not recognized: File truncated

    This error most likely appeared after the previous build was interrupted and object file was not generated completely.

    try to just remove that file



  • Problem was not solved after trying 'make clean'. Problem seems to be solved after updating source. Though having other errors. I'll keep you posted.
    Thank you.


Log in to reply