0
嘗試編譯Note3的內核時出現以下錯誤。
這是三星的內核。
有人有任何建議如何解決它?編譯內核時出現錯誤Galaxy Note3
make[1]: Leaving directory `/home/ran/android/system/kernel/samsung/ha3g' make -C kernel/samsung/ha3g O=/home/ran/android/system/out/target/product/ha3g/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/ran/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" headers_install make[1]: Entering directory `/home/ran/android/system/kernel/samsung/ha3g' CHK include/linux/version.h make[1]: Leaving directory `/home/ran/android/system/kernel/samsung/ha3g' make -C kernel/samsung/ha3g O=/home/ran/android/system/out/target/product/ha3g/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/ran/android/system/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/bin/arm-eabi-" zImage make[1]: Entering directory `/home/ran/android/system/kernel/samsung/ha3g' GEN /home/ran/android/system/out/target/product/ha3g/obj/KERNEL_OBJ/Makefile scripts/kconfig/conf --silentoldconfig Kconfig Using /home/ran/android/system/kernel/samsung/ha3g as source for kernel GEN /home/ran/android/system/out/target/product/ha3g/obj/KERNEL_OBJ/Makefile CHK include/linux/version.h CHK include/generated/utsrelease.h make[3]: `include/generated/mach-types.h' is up to date. CALL /home/ran/android/system/kernel/samsung/ha3g/scripts/checksyscalls.sh CHK include/generated/compile.h CC drivers/sensorhub/stm/factory/light_max88921.o /home/ran/android/system/kernel/samsung/ha3g/drivers/sensorhub/stm/factory/light_max88921.c:78:1: fatal error: opening dependency file drivers/sensorhub/stm/factory/.light_max88921.o.d: No such file or directory compilation terminated. make[5]: *** [drivers/sensorhub/stm/factory/light_max88921.o] Error 1 make[4]: *** [drivers/sensorhub/stm] Error 2 make[3]: *** [drivers/sensorhub] Error 2 make[2]: *** [drivers] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/home/ran/android/system/kernel/samsung/ha3g' make: *** [TARGET_KERNEL_BINARIES] Error 2