[Android Software Development] Royna:
Have some problems in compiling. Please help me.

My phone is samsung a20e running android q

Downloaded the kernel source from samsungopensource.com

Have set KERNEL_SOURCE in BoardConfig.mk

Lunched my phone using

lunch omni_a20ektt-userdebug

Entered :

export ANDROID_MAJOR_VERSION=q; export ARCH=arm64; export ALLOW_MISSING_DEPENDENCIES=true; export TEMPORARY_DISABLE_PATH_RESTRICTIONS=true; make clean && mka recoveryimage

( android major version, export arch is needed by the kernel source (it saids in readme), allow missing dependencies is for building in minimal-manifest-twrp, disable path restrictions for compiler to use something like 'perl')

FAILED: Building Kernel
Outputs: /home/royna/Desktop/minimal-manifest-twrp/out/target/product/a20ektt/obj/KERNEL_OBJ/arch/arm64/boot/Image.gz-dtb
Error: exited with code: 1
[...]
Output:
make: Entering directory '/home/royna/Desktop/minimal-manifest-twrp/kernel/samsung/a20ektt'
make[1]: Entering directory '/home/royna/Desktop/minimal-manifest-twrp/out/target/product/a20ektt/obj/KERNEL_OBJ'
[...]
Android GCC has been deprecated in favor of Clang, and will be removed from
Android in 2020-01 as per the deprecation plan in:
https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/master/GCC_4_9_DEPRECATION.md

Warning (reg_format): "reg" property in /fragment@4/__overlay__/s2dps01@66 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (reg_format): "reg" property in /fragment@7/__overlay__/s2mu106-fuelgauge@3B has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (reg_format): "reg" property in /fragment@7/__overlay__/usbpd-s2mu106@3C has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (reg_format): "reg" property in /fragment@26/__overlay__/himax_ts@48 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (reg_format): "reg" property in /fragment@46/__overlay__/etspi-spi@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (reg_format): "reg" property in /fragment@54/__overlay__/sec-nfc@27 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@4/__overlay__/s2dps01@66
Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@4/__overlay__/s2dps01@66
Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@7/__overlay__/s2mu106-fuelgauge@3B
Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@7/__overlay__/s2mu106-fuelgauge@3B
Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@7/__overlay__/usbpd-s2mu106@3C
Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@7/__overlay__/usbpd-s2mu106@3C
Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@26/__overlay__/himax_ts@48
Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@26/__overlay__/himax_ts@48
Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@46/__overlay__/etspi-spi@0
Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@46/__overlay__/etspi-spi@0
Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@54/__overlay__/sec-nfc@27
Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@54/__overlay__/sec-nfc@27
[...]
make[2]: *** No rule to make target 'vmlinux', needed by 'arch/arm64/boot/Image'. Stop.
make[1]: *** [arch/arm64/Makefile:139: Image.gz-dtb] Error 2
make[1]: Leaving directory '/home/royna/Desktop/minimal-manifest-twrp/out/target/product/a20ektt/obj/KERNEL_OBJ'
make: *** [Makefile:152: sub-make] Error 2
make: Leaving directory '/home/royna/Desktop/minimal-manifest-twrp/kernel/samsung/a20ektt'

What is wrong here?