Error in porting to lenovo k4 note A7010a48
-
Hey there. So i started porting Ubuntu Touch to lenovo k4 note two days ago. Everything worked fine till the breakfast command (ofc i had many errors along the way but somehow fixed them.) Now running the "mka halium-boot" command throws this error :
../../../../../../kernel/lenovo/A7010a48/drivers/misc/mediatek/mlog/mlog_logger.c: In function 'mlog_procinfo': ../../../../../../kernel/lenovo/A7010a48/drivers/misc/mediatek/mlog/mlog_logger.c:690:28: error: 'struct signal_struct' has no member named 'oom_adj' oom_score_adj = p->signal->oom_adj; ^ make[6]: *** [/home/strtsnm/halium/kernel/lenovo/A7010a48/scripts/Makefile.build:258: drivers/misc/mediatek/mlog/mlog_logger.o] Error 1 make[5]: *** [/home/strtsnm/halium/kernel/lenovo/A7010a48/scripts/Makefile.build:402: drivers/misc/mediatek/mlog] Error 2 make[5]: *** Waiting for unfinished jobs.... CC drivers/mmc/core/sdio.o CC drivers/mmc/core/sdio_ops.o CC drivers/mmc/core/sdio_bus.o CC drivers/mmc/core/sdio_cis.o LD drivers/misc/mediatek/mmp/src/built-in.o LD drivers/misc/mediatek/mmp/built-in.o make[4]: *** [/home/strtsnm/halium/kernel/lenovo/A7010a48/scripts/Makefile.build:402: drivers/misc/mediatek] Error 2 make[3]: *** [/home/strtsnm/halium/kernel/lenovo/A7010a48/scripts/Makefile.build:402: drivers/misc] Error 2 make[3]: *** Waiting for unfinished jobs.... CC drivers/mmc/core/sdio_io.o CC drivers/mmc/core/sdio_irq.o CC drivers/mmc/core/quirks.o CC drivers/mmc/core/slot-gpio.o CC drivers/mmc/core/debugfs.o CC drivers/mmc/host/mediatek/mt6735/dbg.o CC drivers/mmc/host/mediatek/mt6735/mt_sd_misc.o LD drivers/mmc/core/mmc_core.o LD drivers/mmc/core/built-in.o CC drivers/mmc/host/mediatek/mt6735/mt_dump.o CC drivers/mmc/host/mediatek/mt6735/sdio_autok.o CC drivers/mmc/host/mediatek/mt6735/sdio_autok_proc.o CC drivers/mmc/host/mediatek/emmc_rpmb.o LD drivers/mmc/host/mediatek/mt6735/built-in.o LD drivers/mmc/host/mediatek/built-in.o LD drivers/mmc/host/built-in.o LD drivers/mmc/built-in.o make[2]: *** [/home/strtsnm/halium/kernel/lenovo/A7010a48/Makefile:960: drivers] Error 2 make[2]: Leaving directory '/home/strtsnm/halium/out/target/product/A7010a48/obj/KERNEL_OBJ' make[1]: *** [Makefile:145: sub-make] Error 2 make[1]: Leaving directory '/home/strtsnm/halium/kernel/lenovo/A7010a48' make: *** [vendor/cm/build/tasks/kernel.mk:282: TARGET_KERNEL_BINARIES] Error 2 make: Leaving directory '/home/strtsnm/halium'What and where is the problem?
Btw, It threw this error previously :
“ccache: FATAL: /home/strtsnm/halium/prebuilts/gcc/linux-x86/aarch64/aarch64-linaro-linux-android-7.x-kernel-aospa/bin/aarch64-linaro-linux-android-gcc: execv returned (No such file or directory)”.
“aarch64-linaro-linux-android” stuff really didnt exist in that folder. So i changed the BroadConfig.mk file (in the device/lenovo/A7010a48 folder) to the folder that existed in the prebuilts folder (/gcc/linux-x86/aarch64/aarch64-linux-android-4.9) .Thanks in advance.
-
it means "/home/strtsnm/halium/prebuilts/gcc/linux-x86/aarch64/aarch64-linaro-linux-android-7.x-kernel-aospa/bin/aarch64-linaro-linux-android-gcc" is missing
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login