error when building android Aosp

Discussion in 'UDOO NEO' started by dillibabu, Aug 28, 2017.

  1. dillibabu

    dillibabu New Member

    Joined:
    May 6, 2017
    Messages:
    15
    Likes Received:
    0
    hi,

    i am using udoo neo for my project with android 6.0, so i have building android aosp for udoo neo, when i build the android aosp i got following error

    i don't know how to solve this error, please could you tell me how to fix this error,

    i am using ubuntu 14.04 with 64 bit system

    LD [M] backports/drivers/net/wireless/ti/wl18xx/wl18xx.o
    fatal: Not a git repository (or any of the parent directories): .git
    CHK backports/drivers/net/wireless/ti/wlcore/version.h
    UPD backports/drivers/net/wireless/ti/wlcore/version.h
    CC [M] backports/drivers/net/wireless/ti/wlcore/main.o
    arm-eabi-gcc: error: backports/drivers/net/wireless/ti/wlcore/main.c: No such file or directory
    arm-eabi-gcc: fatal error: no input files
    compilation terminated.
    make[6]: *** [backports/drivers/net/wireless/ti/wlcore/main.o] Error 1
    make[5]: *** [backports/drivers/net/wireless/ti/wlcore] Error 2
    make[4]: *** [backports/drivers/net/wireless/ti] Error 2
    make[3]: *** [backports/drivers/net/wireless] Error 2
    make[2]: *** [backports] Error 2
    make[1]: *** [sub-make] Error 2
    make: *** [kernelmodules] Error 2

    #### make failed to build some targets (08:58 (mm:ss)) ####

    thank you,
     
  2. Christoffer Schroeder

    Christoffer Schroeder New Member

    Joined:
    Sep 29, 2017
    Messages:
    3
    Likes Received:
    0
    I am getting exactly the same error. Could someone hint how to get past this issue, please?
     
  3. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    Our build machine has Ubuntu 16.04 64bit. It builds everything without issues.
     
  4. Christoffer Schroeder

    Christoffer Schroeder New Member

    Joined:
    Sep 29, 2017
    Messages:
    3
    Likes Received:
    0
    Can I get your build machine sent to me then, please? ;)
    I notice some trickery with git in the makefile for wlcore. There is also some "if you do not have a git repo" attempt at a solution in there, but it does not help removing the .git folder from kernel_imx. This only changes the error slightly. It is quite frustrating that this does not work out of the box using the guidelines.
    Could it be related to some git setup needed for the version control in the makefile?
     
  5. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    If I remember correctly I have got the same error when preparing Android 7.
    Have a look on the last commits of kernel_imx/ and build/, I cannot recall how I have fixed it...
    You can also try to install Ubunu 16.04 on a VM. It is hard for me to send you our physical server :D
     
  6. Qammer

    Qammer New Member

    Joined:
    Oct 13, 2017
    Messages:
    1
    Likes Received:
    0
    What should we do ?
     
  7. Harsha Manam

    Harsha Manam New Member

    Joined:
    Nov 11, 2017
    Messages:
    1
    Likes Received:
    0
    cd kernel_imx/
    make mrproper
    cd ..
    make
    This will solve the issue
     
  8. Weiwei

    Weiwei New Member

    Joined:
    Jan 25, 2017
    Messages:
    2
    Likes Received:
    0
    seems a little bit complex
     
  9. RonnySharma

    RonnySharma New Member

    Joined:
    Mar 11, 2018
    Messages:
    1
    Likes Received:
    0
    Last edited: Mar 15, 2018
  10. Vishnu Kumar

    Vishnu Kumar New Member

    Joined:
    May 10, 2019
    Messages:
    1
    Likes Received:
    0
     
  11. nemoo pinky

    nemoo pinky New Member

    Joined:
    Mar 25, 2020
    Messages:
    1
    Likes Received:
    0
    Thanks issue is solved mx player
     

Share This Page