Just a short notice: I've had to upgrade my build machine (bigger mass storage and update Mint 19 to Mint 21 or thereabouts) and in the process my build environment was damaged. I'ts been restored to a point where I can successfully build for N5110, but not for Cedric :-(
I'm still investigating the cause and will ask here once I know more. Looks like it's when trying to compile the kernel, somewhere in kernel/motorola/msm8937/scripts/dtc, but it may take me some (or even a lot) more time. Or somebody here can give me a hint?
Code:
FAILED: /bin/bash -c "(make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8937 O=/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" zImage ) && (if grep -q '^CONFIG_OF=y' /home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ/.config; then echo \"Building DTBs\"; make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8937 O=/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" dtbs; fi ) && (if grep -q '^CONFIG_MODULES=y' /home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ/.config; then echo \"Building Kernel Modules\"; make -j4 CFLAGS_MODULE=\"-fno-pic\" -C kernel/motorola/msm8937 O=/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=\" arm-linux-androidkernel-\" modules; fi )"
make: Entering directory '/home/ekkehard/nougat/lineage14/kernel/motorola/msm8937'
make[1]: Verzeichnis „/home/ekkehard/nougat/lineage14/out/target/product/cedric/obj/KERNEL_OBJ“ wird betreten
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
drivers/soc/qcom/Kconfig:380:warning: choice value used outside its choice group
drivers/soc/qcom/Kconfig:385:warning: choice value used outside its choice group
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8994 && SND_SOC_MSM8996 && SND_SOC_MSM8X16 && SND_SOC_MDM9607 && SND_SOC_MDM9640) selects SND_SOC_WCD9330 which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && WCD9330_CODEC)
CHK include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
Using /home/ekkehard/nougat/lineage14/kernel/motorola/msm8937 as source for kernel
HOSTLD scripts/dtc/dtc
CC scripts/mod/empty.o
CC scripts/mod/devicetable-offsets.s
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x50): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
MKELF scripts/mod/elfconfig.h
collect2: error: ld returned 1 exit status
make[3]: *** [scripts/Makefile.host:100: scripts/dtc/dtc] Fehler 1
make[2]: *** [/home/ekkehard/nougat/lineage14/kernel/motorola/msm8937/scripts/Makefile.build:402: scripts/dtc] Fehler 2