9.0编译失败

9.0编译失败
0

build/make/core/Makefile:28: warning: overriding commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libdrmutils.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libdrmutils.so’
build/make/core/Makefile:28: warning: overriding commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libgpu_tonemapper.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libgpu_tonemapper.so’
build/make/core/Makefile:28: warning: overriding commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libgralloccore.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libgralloccore.so’
build/make/core/Makefile:28: warning: overriding commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libgrallocutils.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libgrallocutils.so’
build/make/core/Makefile:28: warning: overriding commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libqdMetaData.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libqdMetaData.so’
build/make/core/Makefile:28: warning: overriding commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libqdutils.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libqdutils.so’
build/make/core/Makefile:28: warning: overriding commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libqservice.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libqservice.so’
build/make/core/Makefile:28: warning: overriding commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libsdmcore.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libsdmcore.so’
build/make/core/Makefile:28: warning: overriding commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libsdmutils.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target /home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/vendor/lib64/libsdmutils.so’
ninja: error: ‘/home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/kernel’, needed by ‘/home/lizq/date/mokee_9.0/Yunke_9_0/out/target/product/violet/boot.img’, missing and no known rule to make it
10:45:17 ninja failed with: exit status 1

这里不是百度,直接扔一堆日志不说情况,不知道你想问啥。

对不起,对不起,我是编译9.0的violet的时候,出现这个错误,看错误是应该是卡在了kernel那块,这个大神给看下呗

你是只拉了device没拉kernel源码吧

哦哦,我看下,那violet的9.0kernel源码应该怎么拉取呢,多谢

或者说9.0的violet用的kernel是哪个代码仓呢,感谢

你既然已经拉了device,那不可能不知道怎么拉kernel的。思考一下。

您好,devices是 android_device_xiaomi_violet这个,kernel的没有找到,请指点一下 ,谢谢

你好,请问该问题是否解决?我也遇到了同样的问题,使用小米开源的kernel报同样的错误,谢谢!

厂商开源的内核只包含了内核本身的源码,没有包含能够集成到魔趣里编译的必要改动。如果你没有相关的移植经验,请使用维护者适配好的内核源码。即使你可能认为维护者提供的源码「不干净」「不正式」,也请先把代码跑通再去做其它替换尝试。

使用小米开源的kernel不行,应该是得改点东西,我也在研究中 :grinning:

你好,感谢回复!同时也感谢魔趣对开发者的贡献和支持!我在维护者的github和mokee的github中,没有找到对应的kernel代码,所以采用了厂商源码。请问如何获取维护者提供的kernel源码?谢谢!

我试试https://github.com/GuaiYiHu/android_kernel_xiaomi_sm6150,谢谢。