Android 4.4.2. compilation error (wpa_supplicant_8)

Discussion in 'Android' started by taquionbcn, Sep 2, 2015.

Thread Status:
Not open for further replies.
  1. taquionbcn

    taquionbcn New Member

    Joined:
    Sep 2, 2015
    Messages:
    5
    Likes Received:
    0
    Hi,

    I recently acquire a UDOO Quad Board for Android development.

    I'm trying to compile Android 4.4.2. from source files following the guide at:
    http://www.udoo.org/docs/Advanced_Setup/Compile_Android_From_Sources

    but with no exit.

    My UDOO files are all at my home folder:
    [udoo-android-dev] = guille@ubuntu:~/UDOO/UDOO_Android_4.4.2_Source_v1.0/4.4.2$

    First of all, there is an issue, not a problematic one, at the executable setup at main folder.

    Because setup is started with #!/bin/sh it's enable to use source neither lunch, because source is a special word for bash.
    Solution: I changed #!/bin/sh to #!/bin/bash and it worked ok.

    And then I get to the big problem:

    when I do “make” at [udoo-android-dev] , compilation starts showing all includes but there are some “problematic” lines.
    Code:
    guille@ubuntu:~/UDOO/UDOO_Android_4.4.2_Source_v1.0/4.4.2$ make
    ============================================
    PLATFORM_VERSION_CODENAME=REL
    PLATFORM_VERSION=4.4.2
    TARGET_PRODUCT=udoo
    TARGET_BUILD_VARIANT=eng
    TARGET_BUILD_TYPE=release
    TARGET_BUILD_APPS=
    TARGET_ARCH=arm
    TARGET_ARCH_VARIANT=armv7-a-neon
    TARGET_CPU_VARIANT=cortex-a9
    HOST_ARCH=x86
    HOST_OS=linux
    HOST_OS_EXTRA=Linux-3.19.0-26-generic-x86_64-with-Ubuntu-14.04-trusty
    HOST_BUILD_TYPE=release
    BUILD_ID=1.0.4
    OUT_DIR=out
    ============================================
    …
    including ./external/wpa_supplicant_8/Android.mk ...
    external/wpa_supplicant_8/wpa_supplicant/Android.mk:290: external/wpa_supplicant_8/wpa_supplicant/src/drivers/drivers.mk: No such file or directory
    …
    including ./frameworks/base/Android.mk ...
    find: `src': No such file or directory
    …
    including ./packages/apps/Camera2/Android.mk ...
    fatal: Not a git repository: 'packages/apps/Camera2/.git'
    …
    build/core/Makefile:32: warning: overriding commands for target `out/target/product/udoo/system/xbin/su'
    build/core/base_rules.mk:529: warning: ignoring old commands for target `out/target/product/udoo/system/xbin/su'
    build/core/Makefile:32: warning: overriding commands for target `out/target/product/udoo/system/etc/permissions/android.software.live_wallpaper.xml'
    build/core/base_rules.mk:529: warning: ignoring old commands for target `out/target/product/udoo/system/etc/permissions/android.software.live_wallpaper.xml'
    PRODUCT_COPY_FILES device/fsl/sabresd_6dq/fstab.freescale:root/fstab.freescale ignored.
    No private recovery resources for TARGET_DEVICE udoo
    make: *** No rule to make target `external/wpa_supplicant_8/wpa_supplicant/src/drivers/drivers.mk'.  Stop.
    
    And there is no more compilation.

    So the problem is that wpa_supplicant_8.

    I've tried with the default cross_compiler indicated with setup executable and also with the cross compiler I downloaded from UDOO web.

    Thanks for your time,
    Guillermo
     
    Last edited: Sep 2, 2015
  2. taquionbcn

    taquionbcn New Member

    Joined:
    Sep 2, 2015
    Messages:
    5
    Likes Received:
    0
    Solved!

    I did a fresh install, installed oracle-6-java, many libraries(more than needed) that I found searching the web and EUREKA!!!

    Guillermo
     
  3. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Well then, I'll close the topic therefore.
    Byez!
     
Thread Status:
Not open for further replies.

Share This Page