UDOO Quad Android 6.0.1 Build Error

Discussion in 'Android' started by johnchiu, Mar 4, 2017.

  1. johnchiu

    johnchiu New Member

    Joined:
    Sep 28, 2014
    Messages:
    9
    Likes Received:
    2
    Hi All,
    I'm building image for UDOO Quad from Android 6.0.1 sources using instructions from UDOO's build from sources web page ( https://www.udoo.org/docs/Advanced_Topics/Compile_Android_From_Source.html ).

    Build stopped with error listed below. Anyone seen this before? Google did not return any hits.

    Build env: Ubuntu 14.04.3.

    Thx,

    John

    target SharedLib: bossacjni (out/target/product/udoo_6dq/obj/SHARED_LIBRARIES/bossacjni_intermediates/LINKED/bossacjni.so)
    /home/jc/myandroid/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9.x-google/../../../../arm-linux-androideabi/bin/ld: error: cannot find -llog
    external/bossacjni/Samba.cpp:186: error: undefined reference to '__android_log_print'
    external/bossacjni/Samba.cpp:217: error: undefined reference to '__android_log_print'
    external/bossacjni/Samba.cpp:228: error: undefined reference to '__android_log_print'
    external/bossacjni/Samba.cpp:259: error: undefined reference to '__android_log_print'
    collect2: error: ld returned 1 exit status
    make: *** [out/target/product/udoo_6dq/obj/SHARED_LIBRARIES/bossacjni_intermediates/LINKED/bossacjni.so] Error 1
    make: *** Waiting for unfinished jobs....

    #### make failed to build some targets (05:48:16 (hh:mm:ss)) ####
     
  2. johnchiu

    johnchiu New Member

    Joined:
    Sep 28, 2014
    Messages:
    9
    Likes Received:
    2
    waltervl likes this.

Share This Page