build/make/core/Makefile:49: error: overriding commands for target `out/target/product/rk3566_rgo/system/xbin/su', previously defined at build/make/core/base_rules.mk:492
时间: 2023-07-09 21:56:15 浏览: 692
这是一个错误信息,看起来是在编译 Android 系统时出现的。该错误表示在 Makefile 中重复定义了目标 `out/target/product/rk3566_rgo/system/xbin/su` 的命令。可能有两个或多个 Makefile 文件都定义了该目标,导致冲突。你可以尝试删除其中一个 Makefile 文件中的该目标定义,或者检查命令是否正确,以解决该错误。
相关问题
编译rk3568 build/make/core/Makefile:49: error: overriding commands for target `out/target/product/rk3566_rgo/system/xbin/su', previously defined at build/make/core/base_rules.mk:492
这个错误是由于在编译rk3568时,出现了对目标的多次定义,导致编译器无法决定使用哪个定义。可以尝试以下解决方法:
1. 删除out文件夹中的内容,重新编译:
```
rm -rf out/
make clean
make
```
2. 检查Android.mk文件中是否有重复定义的目标。
3. 检查makefile文件中是否有重复定义的目标。
4. 确保所有的依赖项都正确地被包含。
如果以上方法都无法解决问题,那么可以考虑使用其他版本的编译工具链或者升级编译工具链。
build/make/core/Makefile:28: warning: overriding commands for target `out/target/product/NL5H00X/system/fonts/DroidSansFallback_HisiPlayer.ttf' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `out/target/product/NL5H00X/system/fonts/DroidSansFallback_HisiPlayer.ttf' build/make/core/Makefile:28: warning: overriding commands for target `out/target/product/NL5H00X/vendor/lib/hw/audio.stub.default.so' build/make/core/base_rules.mk:412: warning: ignoring old commands for target `out/target/product/NL5H00X/vendor/lib/hw/audio.stub.default.so' ninja: error: 'device/newlink/config/ini/CJ_5H011_A45_AN_3D/aq.ini', needed by 'out/target/product/NL5H00X/atv/ini/aq.ini', missing and no known rule to make it 16:42:37 ninja failed with: exit status 1
这是一个编译时出现的错误。看起来是缺少一个文件 'device/newlink/config/ini/CJ_5H011_A45_AN_3D/aq.ini',并且没有已知的规则来创建它。你需要确认该文件是否存在,如果不存在,需要检查该文件是否在编译过程中被正确地添加到相应的位置。或者,你可以尝试清除编译缓存并重新编译,看看问题是否得到解决。