[LG V20 Questions & Answers] pawar21:
minta@minta-HP-EliteBook-8730w:~/nitrogen$ make -j2 otapackage

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

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=9

TARGET_PRODUCT=nitrogen_h918

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=armv8-a

TARGET_2ND_CPU_VARIANT=kryo

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-4.15.0-66-generic-x86_64-Linux-Mint-19

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=PQ3B.190801.002

OUT_DIR=/home/minta/nitrogen/out

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

ninja: no work to do.

ninja: no work to do.

$(shell date -u +%Y%m%d-%H%M) was changed, regenerating...

$(shell date -u +%Y%m%d-%H%M) was changed, regenerating...

[25/1003] including development/build/Android.mk ...

development/build/build_android_stubs.mk:43: warning: android_stubs_current

development/build/build_android_stubs.mk:43: warning: metalava_android_stubs_current metalava_android_stubs_current

development/build/build_android_stubs.mk:43: warning: android_system_stubs_current

development/build/build_android_stubs.mk:43: warning: android_test_stubs_current

development/build/build_android_stubs.mk:43: warning: metalava_android_system_stubs_current metalava_android_system_stubs_current

development/build/build_android_stubs.mk:43: warning: metalava_android_test_stubs_current metalava_android_test_stubs_current

[95/1003] including device/lge/msm8996-common/Android.mk ...

device/lge/msm8996-common/vndk/Android.mk:2: warning: ************* BOARD VNDK is not enabled - compiling vndk-sp ***************************

[1003/1003] including vendor/qcom/opensource/dataservices/Android.mk ...

build/make/core/dex_preopt.mk:76: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/dex_bootjars/system/framework/telephony-ext_nodex.jar'

build/make/core/dex_preopt.mk:76: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/dex_bootjars/system/framework/telephony-ext_nodex.jar'

build/make/core/dex_preopt_libart_boot.mk:57: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm64/boot-telephony-ext.art'

build/make/core/dex_preopt_libart_boot.mk:57: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm64/boot-telephony-ext.art'

build/make/core/dex_preopt_libart_boot.mk:57: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm64/boot-telephony-ext.art.rel'

build/make/core/dex_preopt_libart_boot.mk:57: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm64/boot-telephony-ext.art.rel'

build/make/core/dex_preopt_libart_boot.mk:57: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm64/boot-telephony-ext.oat'

build/make/core/dex_preopt_libart_boot.mk:57: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm64/boot-telephony-ext.oat'

build/make/core/dex_preopt_libart_boot.mk:57: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm/boot-telephony-ext.art'

build/make/core/dex_preopt_libart_boot.mk:57: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm/boot-telephony-ext.art'

build/make/core/dex_preopt_libart_boot.mk:57: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm/boot-telephony-ext.art.rel'

build/make/core/dex_preopt_libart_boot.mk:57: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm/boot-telephony-ext.art.rel'

build/make/core/dex_preopt_libart_boot.mk:57: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm/boot-telephony-ext.oat'

build/make/core/dex_preopt_libart_boot.mk:57: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/arm/boot-telephony-ext.oat'

build/make/core/dex_preopt_libart.mk:153: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/boot-telephony-ext.vdex'

build/make/core/dex_preopt_libart.mk:153: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/framework/boot-telephony-ext.vdex'

build/make/core/Makefile:28: warning: overriding commands for target `/home/minta/nitrogen/out/target/product/h918/system/vendor/etc/gps.conf'

build/make/core/base_rules.mk:412: warning: ignoring old commands for target `/home/minta/nitrogen/out/target/product/h918/system/vendor/etc/gps.conf'

[ 0% 45/83084] target thumb C: libqcompostprocbundle_32 <= hardware/qcom/audio/post_proc/bundle.c

FAILED: /home/minta/nitrogen/out/target/product/h918/obj_arm/SHARED_LIBRARIES/libqcompostprocbundle_intermediates/bundle.o

/bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-4691093/bin/clang	-I external/tinyalsa/include -I system/media/audio_effects/include -I hardware/qcom/audio/post_proc -I /home/minta/nitrogen/out/target/product/h918/obj_arm/SHARED_LIBRARIES/libqcompostprocbundle_intermediates -I /home/minta/nitrogen/out/target/product/h918/gen/SHARED_LIBRARIES/libqcompostprocbundle_intermediates -I libnativehelper/include_jni \$(cat /home/minta/nitrogen/out/target/product/h918/obj_arm/SHARED_LIBRARIES/libqcompostprocbundle_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/minta/nitrogen/out/target/product/h918/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 -O2 -g -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 -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 -mthumb -Os -O2 -fvisibility=hidden -Wall -Werror -Wno-unused-function -Wno-unused-variable -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/minta/nitrogen/out/target/product/h918/obj_arm/SHARED_LIBRARIES/libqcompostprocbundle_intermediates/bundle.d -o /home/minta/nitrogen/out/target/product/h918/obj_arm/SHARED_LIBRARIES/libqcompostprocbundle_intermediates/bundle.o hardware/qcom/audio/post_proc/bundle.c"

In file included from hardware/qcom/audio/post_proc/bundle.c:29:

hardware/qcom/audio/post_proc/bundle.h:21:10: fatal error: 'sound/audio_effects.h' file not found

#include <sound/audio_effects.h>

^~~~~~~~~~~~~~~~~~~~~~~

1 error generated.

[ 0% 46/83084] -e Building Kernel Config

make: Entering directory '/home/minta/nitrogen/kernel/lge/msm8996'

make[1]: Entering directory '/home/minta/nitrogen/out/target/product/h918/obj/KERNEL_OBJ'

GEN ./Makefile

arch/arm64/configs/lge_msm8996_defconfig:13:warning: override: reassigning to symbol SCHED_WALT

arch/arm64/configs/lge_msm8996_defconfig:14:warning: override: reassigning to symbol SCHED_TUNE

arch/arm64/configs/lge_msm8996_defconfig:15:warning: override: reassigning to symbol CGROUP_CPUACCT

arch/arm64/configs/lge_msm8996_defconfig:16:warning: override: reassigning to symbol CGROUP_SCHEDTUNE

arch/arm64/configs/lge_msm8996_defconfig:19:warning: override: reassigning to symbol MSM_APM

arch/arm64/configs/lge_msm8996_defconfig:25:warning: override: reassigning to symbol WQ_POWER_EFFICIENT_DEFAULT

arch/arm64/configs/lge_msm8996_defconfig:53:warning: override: reassigning to symbol MSDOS_FS

arch/arm64/configs/lge_msm8996_defconfig:54:warning: override: reassigning to symbol VFAT_FS

arch/arm64/configs/lge_msm8996_defconfig:71:warning: override: reassigning to symbol CP15_BARRIER_EMULATION

arch/arm64/configs/lge_msm8996_defconfig:72:warning: override: reassigning to symbol SETEND_EMULATION

arch/arm64/configs/lge_msm8996_defconfig:73:warning: override: reassigning to symbol SECURITY_PERF_EVENTS_RESTRICT

arch/arm64/configs/lge_msm8996_defconfig:76:warning: override: reassigning to symbol QPNP_HAPTIC

arch/arm64/configs/lge_msm8996_defconfig:79:warning: override: reassigning to symbol BT_RFCOMM

arch/arm64/configs/lge_msm8996_defconfig:80:warning: override: reassigning to symbol MSM_BT_POWER

arch/arm64/configs/lge_msm8996_defconfig:81:warning: override: reassigning to symbol NFC_NQ

arch/arm64/configs/lge_msm8996_defconfig:82:warning: override: reassigning to symbol CNSS

arch/arm64/configs/lge_msm8996_defconfig:83:warning: override: reassigning to symbol USELIB

arch/arm64/configs/lineageos_elsa_common:98:warning: override: reassigning to symbol INPUT_MOUSE

#

# arch/arm64/configs/lineageos_h918_defconfig:1 include file arch/arm64/configs/lineageos_elsa_common

#

#

# arch/arm64/configs/lineageos_elsa_common:1 include file arch/arm64/configs/lge_msm8996_defconfig

#

#

# arch/arm64/configs/lge_msm8996_defconfig:1 include file arch/arm64/configs/msm-perf_defconfig

#

#

# configuration written to .config

#

make[1]: Leaving directory '/home/minta/nitrogen/out/target/product/h918/obj/KERNEL_OBJ'

make: Leaving directory '/home/minta/nitrogen/kernel/lge/msm8996'

make: Entering directory '/home/minta/nitrogen/kernel/lge/msm8996'

make[1]: Entering directory '/home/minta/nitrogen/out/target/product/h918/obj/KERNEL_OBJ'

GEN ./Makefile

scripts/kconfig/conf --savedefconfig=defconfig Kconfig

make[1]: Leaving directory '/home/minta/nitrogen/out/target/product/h918/obj/KERNEL_OBJ'

make: Leaving directory '/home/minta/nitrogen/kernel/lge/msm8996'

ninja: build stopped: subcommand failed.

14:48:50 ninja failed with: exit status 1

#### failed to build some targets (20:07 (mm:ss)) ####

but actually the file is present in hardware/qcom/msm8996/Kernel Headers/sound folder

plz help