在 Ubuntu 16.04(64 位)上构建 ElementalX 内核

在 Ubuntu 16.04(64 位)上构建 ElementalX 内核

尝试建立ElementalX 内核适用于 AndroidUbuntu 16.04(64 位)。我已经下载了内核源文件NDK 工具链文件夹并将它们分别放在我的主目录中。所以我进入了最后一步,即通过运行以下命令编译内核make ARCH=arm CROSS_COMPILE=arm-linux-androideabi-。一切顺利,持续了十分钟,直到我遇到以下错误:

arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 58 of arch/arm/kernel/built-in.o is not in EXIDX output section
arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 9 of arch/arm/common/built-in.o is not in EXIDX output section
arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of arch/arm/crypto/built-in.o is not in EXIDX output section
arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 24 of arch/arm/mach-msm/built-in.o is not in EXIDX output section
arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 40 of fs/built-in.o is not in EXIDX output section
arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 12 of crypto/built-in.o is not in EXIDX output section
arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 38 of block/built-in.o is not in EXIDX output section
arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 24 of lib/built-in.o is not in EXIDX output section
arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 33 of drivers/built-in.o is not in EXIDX output section
arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 6 of sound/built-in.o is not in EXIDX output section
arm-linux-androideabi-ld: warning: unwinding may not work because EXIDX input section 34 of net/built-in.o is not in EXIDX output section
drivers/built-in.o:mdss_fb.c:function mdss_set_rgb: error: undefined reference to 'kcal_ext_apply_values'
drivers/built-in.o:mdss_fb.c:function mdss_get_rgb: error: undefined reference to 'kcal_ext_show_values'
Makefile:786: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1

有人熟悉这种错误吗?因为我完全没有主意,这种错误可能源于工具链我用的是 因为之前开发工具包我正在使用利纳罗我得到了一个完全不同的关于文件的错误“编译器-gcc5.h”缺少我的/包括/linux目录,所以您认为我应该改变我正在使用的工具链吗?

答案1

通过在.配置内核源码目录的文件。

这可以通过改变线路来实现

配置_FB_MSM_MDSS_KCAL_CTRL

CONFIG_FB_MSM_MDSS_KCAL_CTRL=y

一切问题都解决了:)

相关内容