UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Compiling Ubuntu Touch for Xiaomi Redmi 2

    Scheduled Pinned Locked Moved Porting
    xiaomi redmi 2
    3 Posts 2 Posters 9.2k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      swapbee
      last edited by NeoTheThird

      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....

      1 Reply Last reply Reply Quote 0
      • mariogripM Offline
        mariogrip Administrators
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • S Offline
          swapbee
          last edited by

          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.

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post