[One (M9) Android Development] platinumthis:
Ok this is what i got on 69%

ninja: no work to do.

ninja: no work to do.

No need to regenerate ninja file

No need to regenerate ninja file

[ 0% 89/27279] target arm C: audio.primary.msm8994_32 <= hardware/qcom/audio-caf/msm8994/hal/audio_extn/dts_eagle.c

FAILED: /home/whitewidow/crDroid/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/audio.primary.msm8994_intermediates/audio_extn/dts_eagle.o

/bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-4691093/bin/clang	-I device/htc/hima-common/include -I external/tinyalsa/include -I external/tinycompress/include -I external/expat/lib -I system/media/audio_route/include -I system/media/audio_effects/include -I hardware/qcom/audio-caf/msm8994/hal/msm8974 -I hardware/qcom/audio-caf/msm8994/hal/audio_extn -I hardware/qcom/audio-caf/msm8994/hal/voice_extn -I hardware/qcom/audio-caf/msm8994/hal -I /home/whitewidow/crDroid/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/audio.primary.msm8994_intermediates -I /home/whitewidow/crDroid/out/target/product/himaul/gen/SHARED_LIBRARIES/audio.primary.msm8994_intermediates -I libnativehelper/include_jni \$(cat /home/whitewidow/crDroid/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/audio.primary.msm8994_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -isystem /home/whitewidow/crDroid/out/target/product/himaul/obj/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -c -fomit-frame-pointer -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O3 -g0 -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=\$PWD/= -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -O3 -g0 -msoft-float -march=armv8-a -mfloat-abi=softfp -mfpu=neon-fp-armv8 -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -D__ARM_FEATURE_LPAE=1 -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -std=gnu99 -fstrict-aliasing -O3 -DPLATFORM_MSM8994 -DUSE_VENDOR_EXTN -DPCM_OFFLOAD_ENABLED -DAFE_PROXY_ENABLED -DKPI_OPTIMIZE_ENABLED -DHFP_ENABLED -DMULTI_VOICE_SESSION_ENABLED -DCOMPRESS_VOIP_ENABLED -DAUDIO_EXTN_FORMATS_ENABLED -DSPKR_PROT_ENABLED -DHW_VARIANTS_ENABLED -DDTS_EAGLE -DFLAC_OFFLOAD_ENABLED -DCOMPRESS_METADATA_NEEDED -DPCM_OFFLOAD_ENABLED_24 -DDOLBY_ACDB_LICENSE -DDS2_DOLBY_DAP_ENABLED -DDS1_DOLBY_DDP_ENABLED -Wall -Werror -fPIC -D_USING_LIBCXX -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -MD -MF /home/whitewidow/crDroid/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/audio.primary.msm8994_intermediates/audio_extn/dts_eagle.d -o /home/whitewidow/crDroid/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/audio.primary.msm8994_intermediates/audio_extn/dts_eagle.o hardware/qcom/audio-caf/msm8994/hal/audio_extn/dts_eagle.c"

hardware/qcom/audio-caf/msm8994/hal/audio_extn/dts_eagle.c:100:43: error: passing 'const struct stream_out *' to parameter of type 'struct stream_out *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]

tret = do_DTS_Eagle_params_stream(out, t, get);

^~~

hardware/qcom/audio-caf/msm8994/hal/audio_extn/dts_eagle.c:57:58: note: passing argument to parameter 'out' here

static int do_DTS_Eagle_params_stream(struct stream_out *out, struct dts_eagle_param_desc_alsa *t, bool get) {

^

hardware/qcom/audio-caf/msm8994/hal/audio_extn/dts_eagle.c:194:14: error: unused variable 'val' [-Werror,-Wunused-variable]

int ret, val;

^

hardware/qcom/audio-caf/msm8994/hal/audio_extn/dts_eagle.c:326:14: error: unused variable 'val' [-Werror,-Wunused-variable]

int ret, val;

^

3 errors generated.

[ 0% 95/27279] Building Kernel Config

make: Verzeichnis „/home/whitewidow/crDroid/kernel/htc/msm8994“ wird betreten

GEN /home/whitewidow/crDroid/out/target/product/himaul/obj/KERNEL_OBJ/Makefile

warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)

warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))

warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)

warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))

#

# configuration written to .config

#

make: Verzeichnis „/home/whitewidow/crDroid/kernel/htc/msm8994“ wird verlassen

make: Verzeichnis „/home/whitewidow/crDroid/kernel/htc/msm8994“ wird betreten

GEN /home/whitewidow/crDroid/out/target/product/himaul/obj/KERNEL_OBJ/Makefile

scripts/kconfig/conf --savedefconfig=defconfig Kconfig

warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)

warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))

warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)

warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))

make: Verzeichnis „/home/whitewidow/crDroid/kernel/htc/msm8994“ wird verlassen

[ 0% 98/27279] target thumb C++: hwcomposer.msm8994_32 <= hardware/qcom/display-caf/msm8994/libhwcomposer/hwc_utils.cpp

ninja: build stopped: subcommand failed.

22:12:44 ninja failed with: exit status 1

#### failed to build some targets (14 seconds) ####