When I run command make msm8226-sec_defconfig I got error:
sound/soc/codecs/audience/Kconfig:40:warning: type of 'SND_SOC_ES_SLIM' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:43:warning: type of 'SND_SOC_ES_I2C' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:44:warning: choice value used outside its choice group
sound/soc/codecs/audience/Kconfig:41:warning: choice value used outside its choice group
arch/arm/configs/msm8226-sec_defconfig:320:warning: override: reassigning to symbol MSM_CPP
arch/arm/configs/msm8226-sec_defconfig:482:warning: override: reassigning to symbol SWITCH
arch/arm/configs/msm8226-sec_defconfig:483:warning: override: reassigning to symbol COMPACTION
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
KCONFIG_SELINUX((null))
KCONFIG_LOG_SELINUX((null))
KCONFIG_TIMA((null))
KCONFIG_VARIANT((null))
***
*** You must specify VARIANT_DEFCONFIG !
***
/root/android/GT-I9301I_KK_Opensource/Kernel/scripts/kconfig/Makefile:117: recipe for target 'msm8226-sec_defconfig' failed
make[1]: *** [msm8226-sec_defconfig] Error 1
Makefile:496: recipe for target 'msm8226-sec_defconfig' failed
make: *** [msm8226-sec_defconfig] Error 2
Related
Can I enable all options in multifunction device drivers,voltage and current regulator support,power supply class support,hardware monitoring support and gpio support in kernel configuration????
Yeah, why not
But @sev3n1985 tried voltage control and it was buggy and unstable. I really encourage you to try it and test. Good luck.
When I run command make -j3 I get error:
scripts/kconfig/conf --silentoldconfig Kconfig
sound/soc/codecs/audience/Kconfig:40:warning: type of 'SND_SOC_ES_SLIM' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:43:warning: type of 'SND_SOC_ES_I2C' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:44:warning: choice value used outside its choice group
sound/soc/codecs/audience/Kconfig:41:warning: choice value used outside its choice group
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
*** Error during update of the configuration.
/media/sf_gti9301i/GT-I9301I_KK_Opensource/Kernel/scripts/kconfig/Makefile:33: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 1
/media/sf_gti9301i/GT-I9301I_KK_Opensource/Kernel/Makefile:496: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
I have fixed problem by putting source inside home folder.
When I run command make -j3 I get error:
scripts/kconfig/conf --silentoldconfig Kconfig
sound/soc/codecs/audience/Kconfig:40:warning: type of 'SND_SOC_ES_SLIM' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:43:warning: type of 'SND_SOC_ES_I2C' redefined from 'boolean' to 'tristate'
sound/soc/codecs/audience/Kconfig:44:warning: choice value used outside its choice group
sound/soc/codecs/audience/Kconfig:41:warning: choice value used outside its choice group
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)
*** Error during update of the configuration.
/media/sf_gti9301i/GT-I9301I_KK_Opensource/Kernel/scripts/kconfig/Makefile:33: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 1
/media/sf_gti9301i/GT-I9301I_KK_Opensource/Kernel/Makefile:496: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/kernel.release'. Stop.
I have fixed problem by putting source inside home folder.
Hello All.
I am building a new Cyanogenmod 13.0 for Galaxy A5H and I make a lot progress but, Im havng building error mostly on the kernel.
Here is the error log:
Building Kernel
make -C kernel/samsung/msm8916-caf O=/media/storage/android/cm-13.0/out/target/product/a53g/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/media/storage/android/cm-13.0/prebuilts/misc/linux-x86/ccache/ccache /home/ahmed/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-/arm-eabi-" zImage
make[1]: Entering directory '/media/storage/android/cm-13.0/kernel/samsung/msm8916-caf'
/media/storage/android/cm-13.0/kernel/samsung/msm8916-caf/Makefile:603: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
GEN /media/storage/android/cm-13.0/out/target/product/a53g/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/misc/Kconfig:421:warning: type of 'TIMA_LOG' redefined from 'boolean' to 'tristate'
drivers/misc/Kconfig:752:warning: choice value used outside its choice group
drivers/misc/Kconfig:754:warning: choice value used outside its choice group
drivers/misc/Kconfig:762:warning: choice value used outside its choice group
drivers/misc/Kconfig:765:warning: choice value used outside its choice group
drivers/misc/Kconfig:767:warning: choice value used outside its choice group
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM_KRAIT && ARCH_MSM8909 && ARCH_MSM8916 && ARCH_MSM8610 && ARCH_MSM8226) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM_KRAIT && ARCH_MSM8909 && ARCH_MSM8916 && ARCH_MSM8610 && ARCH_MSM8226) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
GEN /media/storage/android/cm-13.0/out/target/product/a53g/obj/KERNEL_OBJ/Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
Using /media/storage/android/cm-13.0/kernel/samsung/msm8916-caf as source for kernel
/media/storage/android/cm-13.0/kernel/samsung/msm8916-caf is not clean, please run 'make mrproper'
in the '/media/storage/android/cm-13.0/kernel/samsung/msm8916-caf' directory.
/media/storage/android/cm-13.0/kernel/samsung/msm8916-caf/Makefile:843: recipe for target 'prepare3' failed
make[2]: *** [prepare3] Error 1
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/media/storage/android/cm-13.0/kernel/samsung/msm8916-caf'
build/core/tasks/kernel.mk:286: recipe for target 'TARGET_KERNEL_BINARIES' failed
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (02:30:51 (hh:mm:ss)) ####
Please I need your help.
hi, which version of java you use?
and since you compile source ?, I also tried to compile a kernel from 0, and gave me errors
You can ignore everything after Cannot use CONFIG_CC_STACKPROTECTOR regular as those are just warnings.
It's saying your compiler doesn't support CONFIG_CC_STACKPROTECTOR regular set in the defconfig.
Are you sure you've got your environment correctly setup and paths correct.
I always set my path and platform variables in the MAKE file
Then just do MAKE to build.
If you still get the error try commenting out CONFIG_CC_STACKPROTECTOR regular in the defconfig.
Also run make mrproper and make clean before building.
Also which distro are you building on?
I'm building with Java 1.7 and Ubuntu 16.04 64-Bit I'll try it and PM you.
Hello guys while compiling kernel for OpT (MM), I am getting this error.. how to solve this?
Error 1
[email protected]:~/android/kernel/oneplus2$ make -j4
scripts/kconfig/conf --silentoldconfig 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))
...
scripts/asn1_compiler.c: In function ‘render_out_of_line_list’:
scripts/asn1_compiler.c:1341:3: warning: enumeration value ‘NOT_COMPOUND’ not handled in switch [-Wswitch]
switch (e->compound) {
^
scripts/asn1_compiler.c:1341:3: warning: enumeration value ‘CHOICE’ not handled in switch [-Wswitch]
scripts/asn1_compiler.c:1341:3: warning: enumeration value ‘ANY’ not handled in switch [-Wswitch]
scripts/asn1_compiler.c:1341:3: warning: enumeration value ‘TYPE_REF’ not handled in switch [-Wswitch]
scripts/asn1_compiler.c:1341:3: warning: enumeration value ‘TAG_OVERRIDE’ not handled in switch [-Wswitch]
...
In file included from drivers/media/platform/msm/camera_v2/sensor/vl6180/src/vl6180x_i2c.c:42:0:
drivers/media/platform/msm/camera_v2/sensor/vl6180/inc/vl6180x_i2c.h:16:23: fatal error: stmvl6180.h: No such file or directory
#include "stmvl6180.h"
^
compilation terminated.
scripts/Makefile.build:308: recipe for target 'drivers/media/platform/msm/camera_v2/sensor/vl6180/src/vl6180x_i2c.o' failed
make[7]: *** [drivers/media/platform/msm/camera_v2/sensor/vl6180/src/vl6180x_i2c.o] Error 1
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm/camera_v2/sensor/vl6180' failed
make[6]: *** [drivers/media/platform/msm/camera_v2/sensor/vl6180] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm/camera_v2/sensor' failed
make[5]: *** [drivers/media/platform/msm/camera_v2/sensor] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm/camera_v2' failed
make[4]: *** [drivers/media/platform/msm/camera_v2] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform/msm' failed
make[3]: *** [drivers/media/platform/msm] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media/platform' failed
make[2]: *** [drivers/media/platform] Error 2
scripts/Makefile.build:455: recipe for target 'drivers/media' failed
make[1]: *** [drivers/media] Error 2
make[1]: *** Waiting for unfinished jobs....
...
Makefile:824: recipe for target 'drivers' failed
make: *** [drivers] Error 2
Please tell guys how to fix this error
Error 2
[email protected]:~/android/kernel/oneplus2$ make clean
CLEAN .
CLEAN arch/arm64/kernel/vdso
CLEAN arch/arm64/kernel
CLEAN crypto/asymmetric_keys
CLEAN kernel
CLEAN lib
CLEAN net/wireless
CLEAN security/selinux
CLEAN usr
scripts/Makefile.clean:17: /home/rohan/android/kernel/oneplus2/arch/arm64/boot/qcom/Makefile: No such file or directory
make[2]: *** No rule to make target '/home/rohan/android/kernel/oneplus2/arch/arm64/boot/qcom/Makefile'. Stop.
scripts/Makefile.clean:94: recipe for target 'arch/arm64/boot/qcom' failed
make[1]: *** [arch/arm64/boot/qcom] Error 2
/home/rohan/android/kernel/oneplus2/arch/arm64/Makefile:92: recipe for target 'archclean' failed
make: *** [archclean] Error 2
[email protected]:~/android/kernel/oneplus2$
Error 3(FIXED)
FIXED:
HTML:
[CODE][email protected]:~/android/kernel/oneplus2$ make msm8994-OnePlus2_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:2503:0:
scripts/kconfig/menu.c: In function ‘get_symbol_str’:
scripts/kconfig/menu.c:567:18: warning: ‘jump’ may be used uninitialized in this function [-Wmaybe-uninitialized]
jump->offset = r->len - 1;
^
scripts/kconfig/menu.c:528:19: note: ‘jump’ was declared here
struct jump_key *jump;
^
HOSTLD scripts/kconfig/conf
arch/arm64/configs/msm8994-OnePlus2_defconfig:685:warning: unexpected data
warning: (PCI_MSM && AMD_IOMMU) selects PCI_MSI which has unmet direct dependencies (PCI && ARCH_SUPPORTS_MSI)
warning: (SND_SOC_APQ8074 && SND_SOC_MSM8994) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_MSM8974 || SND_SOC_APQ8084 || SND_SOC_MSM8994))
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: (SND_SOC_APQ8074 && SND_SOC_MSM8994) selects SND_SOC_MSM_HDMI_CODEC_RX which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && FB_MSM_MDSS_HDMI_PANEL && (SND_SOC_MSM8974 || SND_SOC_APQ8084 || SND_SOC_MSM8994))
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
#
[email protected]:~/android/kernel/oneplus2$ make -j4
Makefile:609: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector not supported by compiler
Makefile:800: *** multiple target patterns. Stop.[/CODE]
please help this noob ;_; I am using this kernel source : [url]https://github.com/OnePlusOSS/android_kernel_oneplus_msm8994/tree/oneplus/6.0.1[/url] and wanna build a kernel for ParanoidAndroid ROM.. if it's wrong one then pls do guide me the right kernel.. :)
EDIT: Fixed with this command :
[B]export SUBARCH=arm64[/B]
[B]export CROSS_COMPILE=/home/rohan/android/kernel/toolchain1/bin/aarch64-linux-android-[/B]
Added some others errors.. I built them using msm8994-OnePlus2_defconfig, msm8994_defconfig and msm8994-perf_defconfig.. all of them resulting in error.. THANKS!!
[email protected]:~/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