[Android] Arunscape:
Errors with make

Note that I am a bit of a n00b for compiling android ROMS

I have successfully compiled SlimKat for android 4.4.4 , so I thought that I'd try compiling SlimLP for android 5.0

Of course I'm getting errors... what can I do?

a@a-VirtualBox:~/slim$ make -j3 bacon

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

PLATFORM_VERSION_CODENAME=UNOFFICIAL

PLATFORM_VERSION=5.0

SLIM_VERSION=Slim-5.0.alpha.0.2-UNOFFICIAL-20141115-2052

TARGET_PRODUCT=slim_d2lte

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=krait

TARGET_GCC_VERSION=4.8

TARGET_GCC_VERSION_EXP=

TARGET_USE_O3=

TARGET_2ND_ARCH=

TARGET_2ND_ARCH_VARIANT=

TARGET_2ND_CPU_VARIANT=

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.13.0-39-generic-x86_64-with-Ubuntu-14.04-trusty

HOST_BUILD_TYPE=release

BUILD_ID=LRX21T

OUT_DIR=/home/a/slim/out

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

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `src': No such file or directory

find: `phone/java': No such file or directory

find: `phone/java': No such file or directory

find: `dummy': No such file or directory

build/core/copy_headers.mk:15: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/obj/include/qcom/display/copybit.h'

build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/obj/include/qcom/display/copybit.h'

build/core/copy_headers.mk:15: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/obj/include/qcom/display/copybit_priv.h'

build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/obj/include/qcom/display/copybit_priv.h'

build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/bin/rild'

build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/bin/rild'

build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/lib/libreference-ril.so'

build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/lib/libreference-ril.so'

build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/lib/libsecril-client.so'

build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/lib/libsecril-client.so'

build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/etc/gps.conf'

build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/etc/gps.conf'

PRODUCT_COPY_FILES frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml ignored.

PRODUCT_COPY_FILES frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml ignored.

build/core/Makefile:33: warning: overriding commands for target `/home/a/slim/out/target/product/d2lte/system/etc/mkshrc'

build/core/base_rules.mk:551: warning: ignoring old commands for target `/home/a/slim/out/target/product/d2lte/system/etc/mkshrc'

No private recovery resources for TARGET_DEVICE d2lte

make -C kernel/samsung/d2 O=/home/a/slim/out/target/product/d2lte/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/a/slim/prebuilt/linux-x86/toolchain/linaro-4.7-13.04/bin/arm-linux-gnueabihf-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogen_d2_defconfig

Install: /home/a/slim/out/host/linux-x86/bin/mkbootimg

make[1]: Entering directory `/home/a/slim/kernel/samsung/d2'

Install: /home/a/slim/out/host/linux-x86/bin/mkbootfs

Install: /home/a/slim/out/host/linux-x86/bin/checkpolicy

Install: /home/a/slim/out/host/linux-x86/bin/checkfc

target Prebuilt: fstab.qcom (/home/a/slim/out/target/product/d2lte/obj/ETC/fstab.qcom_intermediates/fstab.qcom)

target Symbolic: libdl (/home/a/slim/out/target/product/d2lte/symbols/system/lib/libdl.so)

Install: /home/a/slim/out/target/product/d2lte/system/usr/share/zoneinfo/tzdata

Install: /home/a/slim/out/target/product/d2lte/root/init.qcom.rc

Install: /home/a/slim/out/target/product/d2lte/root/init.qcom.usb.rc

Install: /home/a/slim/out/target/product/d2lte/root/init.rc

Install: /home/a/slim/out/target/product/d2lte/root/init.recovery.qcom.rc

Install: /home/a/slim/out/target/product/d2lte/root/res/images/charger/battery_fail.png

Install: /home/a/slim/out/target/product/d2lte/root/res/images/charger/battery_scale.png

Install: /home/a/slim/out/target/product/d2lte/root/ueventd.qcom.rc

/home/a/slim/out/host/linux-x86/bin/checkpolicy: loading policy configuration from /home/a/slim/out/target/product/d2lte/obj/ETC/sepolicy.recovery_intermediates/policy_recovery.conf

DumpPublicKey: /home/a/slim/out/target/product/d2lte/obj/PACKAGING/ota_keys_intermediates/keys <= build/target/product/security/testkey.x509.pem

java -jar /home/a/slim/out/host/linux-x86/framework/dumpkey.jar build/target/product/security/testkey.x509.pem > /home/a/slim/out/target/product/d2lte/obj/PACKAGING/ota_keys_intermediates/keys

device/samsung/msm8960-common/sepolicy/device.te:3:ERROR 'duplicate declaration of type/attribute' at token ';' on line 11302:

type gpu_device, dev_type;

# GPU (used by most UI apps)

checkpolicy: error(s) encountered while parsing configuration

make: *** [/home/a/slim/out/target/product/d2lte/obj/ETC/sepolicy.recovery_intermediates/sepolicy.recovery] Error 1

make: *** Waiting for unfinished jobs....

GEN /home/a/slim/out/target/product/d2lte/obj/KERNEL_OBJ/Makefile

#

# configuration written to .config

#

make[1]: Leaving directory `/home/a/slim/kernel/samsung/d2'

#### make failed to build some targets (47 seconds) ####