Firefly开源社区

打印 上一主题 下一主题

[Android] FAILED: ninja:.XXX.so.toc needed by XXX.so missing and no known rule to make it

20

积分

0

威望

0

贡献

技术小白

积分
20

FAILED: ninja:.XXX.so.toc needed by XXX.so missing and no known rule to make it

发表于 2023-2-8 10:18:43      浏览:6868 | 回复:6        打印      只看该作者   [复制链接] 楼主
有大神碰过类似问题吗,Android编译不通过

[100% 20/20] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
libRkTeeWeaver want to conditional Compile
libcameradevice want to conditional Compile
libgralloc_priv want to conditional Compile
librga want to conditional Compile
librockit want to conditional Compile
Rockchip conditional compile
Optee Version: v2
[hardware/rockchip/libgralloc/bifrost frameworks/native/include system/core/libsync system/core/libsync/include external/libdrm/include/drm] 30
>>>>>>>>>>>>>>>>>>>>> rk356x
libcameradevice curr board is rk356x
[100% 21/21] initializing build system ...
device/rockchip/common/prebuild.mk:2: warning: Generating manifest snapshot at out/commit_id.xml...
device/rockchip/common/prebuild.mk:3: warning: You can disable this by removing this and setting BOARD_RECORD_COMMIT_ID := false in BoardConfig.mk
[  8% 26/304] including build/make/target/board/Android.mk ...
build fstab file with device/rockchip/rk356x/rk3566_einkw6/fstab_eink.in....
rebuilding dtbo image with device/rockchip/rk356x/rk3566_einkw6/dt-overlay.in....
build parameter.txt with device/rockchip/common/scripts/parameter_tools/parameter.in....
[ 27% 83/304] including external/rk_tee_user/v2/Android.mk ...
'building rk_tee_user v2'
[ 47% 144/304] including hardware/rockchip/camera_engine_rkisp/Android.mk ...
TARGET_BOARD_PLATFORM=rk356x
[ 49% 151/304] including hardware/rockchip/libhwjpeg/Android.mk ...
cat: /home/esllet/.gitconfig: No such file or directory
sed: /home/esllet/Desktop/3566-Android-SDK/RK356X_Android11.0/hardware/rockchip/libhwjpeg/src/version.h: No such file or directory
sed: /home/esllet/Desktop/3566-Android-SDK/RK356X_Android11.0/hardware/rockchip/libhwjpeg/src/version.h: No such file or directory
git-a4116da232 author: Firefly 2022-09-29 support ROC-RK3568-PC SE and FireflyApi2 Demo
[ 50% 154/304] including hardware/rockchip/librga/Android.mk ...
RGA is compiling with Android.mk Generated version.h
[ 51% 156/304] 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% 303/304] finishing build rules ...
packages/apps/Camera2/Android.mk: warning: "Camera2 (app:platform) should not link against libjni_jpegutil (native:ndk:libc++:static)"
FAILED: ninja: 'out/target/product/rk3566_einkw6/obj/SHARED_LIBRARIES/libskia_intermediates/libskia.so.toc', needed by 'out/target/product/rk3566_einkw6/obj/SHARED_LIBRARIES/hwcomposer.rk30board_intermediates/LINKED/hwcomposer.rk30board.so', missing and no known rule to make it
09:01:52 ninja failed with: exit status 1


回复

使用道具 举报

发表于 2023-2-10 09:19:11        只看该作者  沙发
用维基教程上的编译固件命令有没有问题
  1. ./FFTools/make.sh -d rk3566-firefly-aiojd4 -j8 -l rk3566_firefly_aiojd4-userdebug
  2. ./FFTools/mkupdate/mkupdate.sh -l rk3566_firefly_aiojd4-userdebug
复制代码
回复

使用道具 举报

20

积分

0

威望

0

贡献

技术小白

积分
20
发表于 2023-2-10 14:49:10        只看该作者  板凳
本帖最后由 chenTree 于 2023-2-10 14:53 编辑
firefly_zhongw 发表于 2023-2-10 09:19
用维基教程上的编译固件命令有没有问题

用维基教程上的编译固件命令没有问题,但我编译官方3566-eink-userbug就会报错,还是一样的问题
回复

使用道具 举报

发表于 2023-2-13 11:07:07        只看该作者  地板
  1. 'out/target/product/rk3566_einkw6/obj/SHARED_LIBRARIES/hwcomposer.rk30board_intermediates/LINKED/hwcomposer.rk30board.so', missing and no known rule to make it
复制代码

根据错误提示信息排查
回复

使用道具 举报

20

积分

0

威望

0

贡献

技术小白

积分
20
发表于 2023-2-14 15:50:13        只看该作者  5#
firefly_zhongw 发表于 2023-2-13 11:07
根据错误提示信息排查

libskia.so.toc needed by  hwcomposer.rk30board.so
我搜索过,有hwcomposer.rk30board.so,但没有libskia.so.toc,所以报missing
可能编译出错没编译出来,或者会不会是SDK有问题呀
回复

使用道具 举报

发表于 2023-2-18 11:10:20        只看该作者  6#
“用维基教程上的编译固件命令没有问题,但我编译官方3566-eink-userbug就会报错,还是一样的问题”
----> 用维基教程上的编译固件命令没有问题,说明SDK编译是没问题的
----> 3566-eink-userbug 我们没调试过,你可以与 rk3566_firefly_aiojd4-userdebug product进行对比
回复

使用道具 举报

20

积分

0

威望

0

贡献

技术小白

积分
20
发表于 2023-2-20 13:33:27        只看该作者  7#
本帖最后由 chenTree 于 2023-2-20 13:36 编辑
firefly_zhongw 发表于 2023-2-18 11:10
“用维基教程上的编译固件命令没有问题,但我编译官方3566-eink-userbug就会报错,还是一样的问题”
----> ...

好的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表