This is a cache of https://discuss.96boards.org/t/hikey960-build-error/7778. It is a snapshot of the page at 2024-11-01T10:57:51.241+0000.
Hikey960 build error - 96Boards Forum

Hikey960 build error

Hi
I am getting an build error for hikey960 board.
Please see the details . Any body can help me

device/linaro/hikey/hikey960/device-hikey960.mk:90: warning: TARGET_HISI_CODEC_VERSION () does not match exiting the build (1).
device/linaro/hikey/hikey960/device-hikey960.mk:91: warning: Please download new binaries here:
device/linaro/hikey/hikey960/device-hikey960.mk:92: warning: https://dl.google.com/dl/android/aosp/hisilicon-hikey960-OPR-3c243263.tgz
device/linaro/hikey/hikey960/device-hikey960.mk:93: warning: And extract in the ANDROID_TOP_DIR

PLATFORM_VERSION_CODENAME=Q
PLATFORM_VERSION=Q
TARGET_PRODUCT=hikey960
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a73
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=cortex-a73
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.15.0-20-generic-x86_64-ubuntu-18.04-LTS
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=PI
OUT_DIR=out

[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
error: system/core/libvndksupport/Android.bp:3:1: “libvndksupport” depends on undefined module “libdl_android”
10:39:37 soong bootstrap failed with: exit status 1

failed to build some targets (44 seconds)

Don’t recognise this issue.

Are you using https://github.com/96boards/aosp-known-good-manifests/ to
ensure that you don’t encounter temporary problems as changes are
delivered to the project?

Daniel.

Hi Danielt,

I am following the HiKey960-HiFi3-Android-SDK-Guide.pdf for making the source tree

I have followed below steps .

repo init -u platform/manifest - Git at Google -b master
repo sync -j24

Hi Danielt,

I am following the HiKey960-HiFi3-Android-SDK-Guide.pdf for making the source tree

I have followed below steps .

repo init -u platform/manifest - Git at Google -b master
repo sync -j24

Try augmenting these instructions with the known good manifest.