[LineageOS Questions & Answers] Veritas06:
I'm trying to port LineageOS 15.1 to my Planet GeminiPDA, which already has a v.14.1 unofficial port, which I was using as the base (it's device, vendor, & kernel tree). When attempting to build, I seem to be getting stuck at the below error:

make[7]: *** [/home/v3ritas/Development/LOS/kernel/planet/mt6797/scripts/Makefile.build:257: drivers/misc/mediatek/connectivity/wlan/gen3/mgmt/rlm_domain.o] Error 1
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [/home/v3ritas/Development/LOS/kernel/planet/mt6797/scripts/Makefile.build:402: drivers/misc/mediatek/connectivity/wlan/gen3] Error 2
make[5]: *** [/home/v3ritas/Development/LOS/kernel/planet/mt6797/scripts/Makefile.build:402: drivers/misc/mediatek/connectivity/wlan] Error 2
make[4]: *** [/home/v3ritas/Development/LOS/kernel/planet/mt6797/scripts/Makefile.build:402: drivers/misc/mediatek/connectivity] Error 2
make[3]: *** [/home/v3ritas/Development/LOS/kernel/planet/mt6797/scripts/Makefile.build:402: drivers/misc/mediatek] Error 2
make[2]: *** [/home/v3ritas/Development/LOS/kernel/planet/mt6797/scripts/Makefile.build:402: drivers/misc] Error 2
make[1]: *** [/home/v3ritas/Development/LOS/kernel/planet/mt6797/Makefile:939: drivers] Error 2
make[1]: *** Waiting for unfinished jobs....
CC lib/lockref.o
CC lib/bcd.o
CC lib/div64.o
CC lib/sort.o
CC lib/parser.o
CC lib/halfmd4.o
CC lib/debug_locks.o
CC lib/random32.o
CC lib/bust_spinlocks.o
CC lib/hexdump.o
CC lib/kasprintf.o
CC lib/bitmap.o
CC lib/scatterlist.o
CC lib/gcd.o
CC lib/lcm.o
CC lib/list_sort.o
CC lib/uuid.o
CC lib/flex_array.o
CC lib/iovec.o
CC lib/clz_ctz.o
CC lib/bsearch.o
CC lib/find_last_bit.o
CC lib/find_next_bit.o
CC lib/llist.o
CC lib/memweight.o
CC lib/kfifo.o
CC lib/percpu-refcount.o
CC lib/percpu_ida.o
CC lib/hash.o
CC lib/rhashtable.o
CC lib/reciprocal_div.o
CC lib/string_helpers.o
CC lib/kstrtox.o
CC lib/iomap.o
CC lib/pci_iomap.o
CC lib/iomap_copy.o
CC lib/devres.o
CC lib/hweight.o
CC lib/smp_processor_id.o
CC lib/bitrev.o
CC lib/crc-ccitt.o
CC lib/crc16.o
HOSTCC lib/gen_crc32table
CC lib/libcrc32c.o
CC lib/genalloc.o
CC lib/fonts/fonts.o
CC lib/fonts/font_8x16.o
CC lib/lzo/lzo1x_compress.o
LD lib/fonts/font.o
LD lib/fonts/built-in.o
CC lib/reed_solomon/reed_solomon.o
CC lib/lzo/lzo1x_decompress_safe.o
LD lib/reed_solomon/built-in.o
CC lib/zlib_deflate/deflate.o
LD lib/lzo/lzo_compress.o
LD lib/lzo/lzo_decompress.o
LD lib/lzo/built-in.o
CC lib/zlib_deflate/deftree.o
CC lib/zlib_deflate/deflate_syms.o
CC lib/zlib_inflate/inffast.o
LD lib/zlib_deflate/zlib_deflate.o
LD lib/zlib_deflate/built-in.o
CC lib/textsearch.o
CC lib/zlib_inflate/inflate.o
CC lib/ts_kmp.o
CC lib/zlib_inflate/infutil.o
CC lib/ts_bm.o
CC lib/zlib_inflate/inftrees.o
CC lib/zlib_inflate/inflate_syms.o
CC lib/ts_fsm.o
LD lib/zlib_inflate/zlib_inflate.o
LD lib/zlib_inflate/built-in.o
CC lib/percpu_counter.o
CC lib/audit.o
CC lib/compat_audit.o
CC lib/swiotlb.o
CC lib/iommu-helper.o
CC lib/fault-inject.o
CC lib/syscall.o
CC lib/dynamic_debug.o
CC lib/nlattr.o
CC lib/checksum.o
CC lib/cpu_rmap.o
CC lib/dynamic_queue_limits.o
CC lib/strncpy_from_user.o
CC lib/strnlen_user.o
CC lib/net_utils.o
CC lib/argv_split.o
CC lib/cmdline.o
CC lib/cpumask.o
CC lib/ctype.o
CC lib/dec_and_lock.o
CC lib/decompress.o
CC lib/decompress_inflate.o
CC lib/dump_stack.o
CC lib/earlycpio.o
CC lib/extable.o
CC lib/fdt.o
CC lib/fdt_empty_tree.o
CC lib/fdt_ro.o
CC lib/fdt_rw.o
CC lib/fdt_strerror.o
CC lib/fdt_sw.o
CC lib/fdt_wip.o
CC lib/flex_proportions.o
CC lib/idr.o
CC lib/int_sqrt.o
CC lib/ioremap.o
CC lib/irq_regs.o
CC lib/is_single_threaded.o
CC lib/klist.o
CC lib/kobject.o
CC lib/kobject_uevent.o
CC lib/md5.o
CC lib/plist.o
CC lib/proportions.o
CC lib/radix-tree.o
CC lib/ratelimit.o
CC lib/rbtree.o
CC lib/sha1.o
CC lib/show_mem.o
CC lib/string.o
CC lib/timerqueue.o
CC lib/vsprintf.o
GEN lib/crc32table.h
CC lib/crc32.o
LD lib/built-in.o
AR lib/lib.a
make[1]: Leaving directory '/home/v3ritas/Development/LOS/out/target/product/geminipda/obj/KERNEL_OBJ'
make: *** [Makefile:145: sub-make] Error 2
make: Leaving directory '/home/v3ritas/Development/LOS/kernel/planet/mt6797'
[ 3% 2619/83359] //external/protobuf:aprotoc clang++ src/google/protobuf/descriptor.cc [linux]
ninja: build stopped: subcommand failed.
16:35:53 ninja failed with: exit status 1

#### failed to build some targets (02:43 (mm:ss)) ####

Any help would be appretiated.