这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 嵌入式开发 » 国产MCU » 如何去解决RK3568Android系统二次编译失败的问题

共2条 1/1 1 跳转至

如何去解决RK3568Android系统二次编译失败的问题

工程师
2024-01-31 11:46:57     打赏

之前成功编译过几次Android,近期只修改了kernel和uboot,然后回头编译Android时,发现有如下错误。

  尝试过 BoardConfig.mk 加BUILD_BROKEN_DUP_RULES := true,但又会出其他问题。

  [ 46% 128/277] including hardware/rockchip/libhwjpeg/Android.mk 。..

  [ 48% 133/277] including hardware/rockchip/omx_il/Android.mk 。..

  date: Unknown option ‘R’ (see “date --help”)

  cp: .git/hooks/pre-commit: No such file or directory

  tools/hooks .git/hooks

  [ 99% 276/277] finishing build rules 。..

  packages/apps/Camera2/Android.mk: warning: “Camera2 (app:platform) should
not link against libjni_jpegutil (native:ndk:libc++:static)”

  [100% 277/277] writing build rules 。..

  FAILED:

  build/make/core/Makefile:900: error: overriding commands for
target`out/target/product/rk3568_firefly_aioj/obj/PACKAGING/depmod_vendor_stripped_intermediates/bcmdhd.ko‘,
previously defined at build/make/core/Makefile:900

  15:45:50 ckati failed with: exit status 1





关键词: RK3568    

助工
2024-01-31 11:47:57     打赏
2楼

具体修改了什么,回退修改后是否可以编译成功

我之前也遇到过类似的问题,make clean完,git reset过,然后重新编译了几个小时,就解决了,但是不知道之前为什么出现问题。


共2条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]