[Android] arjunan47:
cardinal compilation error

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=7.0

CARDINAL_VERSION=

TARGET_PRODUCT=cardinal_tomato

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=cortex-a53

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv7-a-neon

TARGET_2ND_CPU_VARIANT=cortex-a53

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-4.4.0-59-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=NBD91P

OUT_DIR=/home/arjunan/cardinal/out

============================================

build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets

build/core/binary.mk:1236: external/deqp/Android.mk: libdeqp: Unused source files: \

build/core/binary.mk:1236: external/deqp/Android.mk: libdeqp: Unused source files: \

build/core/binary.mk:1236: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc

build/core/binary.mk:1236: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc

./external/speex/Android.mk:56: TODOArm64: enable neon in libspeex

build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets

find: `/home/arjunan/cardinal/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates': No such file or directory

ln: failed to create symbolic link ‘libEGL_adreno.so’: File exists

ln: failed to create symbolic link ‘libEGL_adreno.so’: File exists

No private recovery resources for TARGET_DEVICE tomato

build/core/binary.mk:703: warning: overriding commands for target `/home/arjunan/cardinal/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'

build/core/binary.mk:703: warning: ignoring old commands for target `/home/arjunan/cardinal/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.cc'

build/core/binary.mk:708: warning: overriding commands for target `/home/arjunan/cardinal/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'

build/core/binary.mk:708: warning: ignoring old commands for target `/home/arjunan/cardinal/out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'

build/core/binary.mk:1070: warning: overriding commands for target `/home/arjunan/cardinal/out/target/product/tomato/obj/STATIC_LIBRARIES/libvold_intermediates/cryptfs.o'

build/core/binary.mk:1070: warning: ignoring old commands for target `/home/arjunan/cardinal/out/target/product/tomato/obj/STATIC_LIBRARIES/libvold_intermediates/cryptfs.o'

build/core/binary.mk:1070: warning: overriding commands for target `/home/arjunan/cardinal/out/target/product/tomato/obj_arm/STATIC_LIBRARIES/libvold_intermediates/cryptfs.o'

build/core/binary.mk:1070: warning: ignoring old commands for target `/home/arjunan/cardinal/out/target/product/tomato/obj_arm/STATIC_LIBRARIES/libvold_intermediates/cryptfs.o'

build/core/base_rules.mk:316: warning: overriding commands for target `/home/arjunan/cardinal/out/target/product/tomato/root/res/images/charger/battery_fail.png'

build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/arjunan/cardinal/out/target/product/tomato/root/res/images/charger/battery_fail.png'

Starting build with ninja

ninja: Entering directory `.'

ninja: error: '/home/arjunan/cardinal/out/target/common/obj/JAVA_LIBRARIES/org.cyanogenmod.platform.internal_intermediates/classes.jack', needed by '/home/arjunan/cardinal/out/target/common/obj/APPS/ConfigPanel_intermediates/with-local/classes.dex', missing and no known rule to make it

make: *** [ninja_wrapper] Error 1

make: Leaving directory `/home/arjunan/cardinal'

#### make failed to build some targets (01:03 (mm:ss)) ####

i am trying to compile cardinal aosp from source for tomato. i tried everything i know to fix this. please help me out fixing this problem