Inforce Computing Forums

inforce computing forums to discuss about inforce products

Fails to build from source for Android 8.1 (Rel_V3.1)

Questions and discussions related to Inforce 6640 Micro SBC

by jhlim » Mon Nov 05, 2018 10:08 pm

Hi.

I fail to build Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1.
I downloaded it and started building it as Inforce-IFC6640-AndroidBSP-880493-Rel-v2.1.

I used the host pc that built the previous version to version 7.1.(v2.1)


I would appreciate any advice you may have.

<code>
jhlim@jhlim-r8:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1$ ./build.sh msm8996
including device/generic/car/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/generic/uml/vendorsetup.sh
including device/qcom/common/vendorsetup.sh
including vendor/qcom/proprietary/common/vendorsetup.sh
including sdk/bash_completion/adb.bash

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=msm8996
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_PLATFORM_VERSION=OPM1
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-134-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=IFC-6640_OREO_Relv-3.1
OUT_DIR=out
AUX_OS_VARIANT_LIST=
============================================

INFO: Build Android tree for msm8996

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=8.1.0
TARGET_PRODUCT=msm8996
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=kryo
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a9
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-134-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=IFC-6640_OREO_Relv-3.1
OUT_DIR=out
============================================
ninja: no work to do.
ninja: no work to do.
Environment variable PATH was modified (/usr/lib/jvm/java-8-openjdk-amd64/bin:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/out/soong/host/linux-x86/bin:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/out/host/linux-x86/bin:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/development/scripts:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/prebuilts/devtools/tools:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/external/selinux/prebuilts/bin:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/prebuilts/misc/linux-x86/dtc:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/prebuilts/misc/linux-x86/libufdt:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/prebuilts/android-emulator/linux-x86_64:/home/jhlim/Android/SDK/platform-tools/:/home/jhlim/Android/Sdk/tools/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/cuda/bin:/usr/local/cuda-8.0/bin => /usr/lib/jvm/java-8-openjdk-amd64/bin:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/out/soong/host/linux-x86/bin:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/out/host/linux-x86/bin:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/development/scripts:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/prebuilts/devtools/tools:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/external/selinux/prebuilts/bin:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/prebuilts/misc/linux-x86/dtc:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/prebuilts/misc/linux-x86/libufdt:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/prebuilts/android-emulator/linux-x86_64:/home/jhlim/Android/SDK/platform-tools/:/home/jhlim/Android/Sdk/tools/:/home/jhlim/Android/SDK/platform-tools/:/home/jhlim/Android/Sdk/tools/:/home/jhlim/Android/SDK/platform-tools/:/home/jhlim/Android/Sdk/tools/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/cuda/bin:/usr/local/cuda-8.0/bin:/usr/local/cuda/bin:/usr/local/cuda-8.0/bin:/usr/local/cuda/bin:/usr/local/cuda-8.0/bin), regenerating...
[1/1040] including out/soong/Android-msm8996.mk ...
[2/1040] including ./art/Android.mk ...
[3/1040] including ./bionic/Android.mk ...
[4/1040] including ./bootable/recovery/Android.mk ...
[5/1040] including ./build/make/Android.mk ...
[6/1040] including ./build/target/board/Android.mk ...

...

CAT arch/arm64/boot/Image.gz-dtb
make[1]: Leaving directory `/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/out/target/product/msm8996/obj/kernel/msm-3.18'
make: Leaving directory `/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/kernel/msm-3.18'
make: Entering directory `/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/kernel/msm-3.18'
make[1]: Entering directory `/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/out/target/product/msm8996/obj/kernel/msm-3.18'
/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/kernel/msm-3.18/arch/arm64/Makefile:130: warning: overriding commands for target `vdso_prepare'
/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/kernel/msm-3.18/arch/arm64/Makefile:120: warning: ignoring old commands for target `vdso_prepare'
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
GEN ./Makefile
Using /work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/kernel/msm-3.18 as source for kernel
CHK include/generated/utsrelease.h
CALL /work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/kernel/msm-3.18/scripts/checksyscalls.sh
make[2]: `include/generated/vdso-offsets.h' is up to date.
Building modules, stage 2.
MODPOST 12 modules
make[1]: Leaving directory `/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/out/target/product/msm8996/obj/kernel/msm-3.18'
make: Leaving directory `/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/kernel/msm-3.18'
make: Entering directory `/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/kernel/msm-3.18'
make[1]: Entering directory `/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/out/target/product/msm8996/obj/kernel/msm-3.18'
/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/kernel/msm-3.18/arch/arm64/Makefile:130: warning: overriding commands for target `vdso_prepare'
/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/kernel/msm-3.18/arch/arm64/Makefile:120: warning: ignoring old commands for target `vdso_prepare'
INSTALL block/test-iosched.ko
INSTALL crypto/ansi_cprng.ko
INSTALL drivers/char/rdbg.ko
INSTALL drivers/input/evbug.ko
INSTALL drivers/mmc/card/mmc_block_test.ko
INSTALL drivers/mmc/card/mmc_test.ko
INSTALL drivers/net/wireless/ath/wil6210/wil6210.ko
INSTALL drivers/scsi/ufs/ufs_test.ko
INSTALL drivers/video/backlight/backlight.ko
INSTALL drivers/video/backlight/generic_bl.ko
INSTALL drivers/video/backlight/lcd.ko
INSTALL net/bridge/br_netfilter.ko
DEPMOD 3.18.71-ge6a340a-00026-gd63e893
make[1]: Leaving directory `/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/out/target/product/msm8996/obj/kernel/msm-3.18'
make: Leaving directory `/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1/kernel/msm-3.18'
[ 4% 738/18241] Compiling SDK Stubs with Jack: out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jack
[ 4% 739/18241] Compiling SDK Stubs with Jack: out/target/common/obj/JAVA_LIBRARIES/android_system_stubs_current_intermediates/classes.jack
[ 4% 740/18241] Building with Jack: out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy_intermediates/classes.jack
ninja: build stopped: subcommand failed.
13:33:34 ninja failed with: exit status 1
jhlim@jhlim-r8:/work/snapdragon_android/Inforce-IFC6640-AndroidBSP-880493-Rel-v3.1/source/LA.UM.6.5.r1-06000-8x96.0_Rel_V3.1$
</code>
jhlim
 
Posts: 3
Joined: Thu Oct 18, 2018 6:52 pm

Return to INFORCE 6640™ Micro SBC

Contact Us.