Firefly开源社区

标题: FAILED: ninja:.XXX.so.toc needed by XXX.so missing and no known rule to make it [打印本页]

作者: chenTree    时间: 2023-2-8 10:18
标题: FAILED: ninja:.XXX.so.toc needed by XXX.so missing and no known rule to make it
有大神碰过类似问题吗,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



作者: firefly_zhongw    时间: 2023-2-10 09:19
用维基教程上的编译固件命令有没有问题
  1. ./FFTools/make.sh -d rk3566-firefly-aiojd4 -j8 -l rk3566_firefly_aiojd4-userdebug
  2. ./FFTools/mkupdate/mkupdate.sh -l rk3566_firefly_aiojd4-userdebug
复制代码

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

用维基教程上的编译固件命令没有问题,但我编译官方3566-eink-userbug就会报错,还是一样的问题
作者: firefly_zhongw    时间: 2023-2-13 11: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
复制代码

根据错误提示信息排查
作者: chenTree    时间: 2023-2-14 15:50
firefly_zhongw 发表于 2023-2-13 11:07
根据错误提示信息排查

libskia.so.toc needed by  hwcomposer.rk30board.so
我搜索过,有hwcomposer.rk30board.so,但没有libskia.so.toc,所以报missing
可能编译出错没编译出来,或者会不会是SDK有问题呀
作者: firefly_zhongw    时间: 2023-2-18 11:10
“用维基教程上的编译固件命令没有问题,但我编译官方3566-eink-userbug就会报错,还是一样的问题”
----> 用维基教程上的编译固件命令没有问题,说明SDK编译是没问题的
----> 3566-eink-userbug 我们没调试过,你可以与 rk3566_firefly_aiojd4-userdebug product进行对比
作者: chenTree    时间: 2023-2-20 13:33
本帖最后由 chenTree 于 2023-2-20 13:36 编辑
firefly_zhongw 发表于 2023-2-18 11:10
“用维基教程上的编译固件命令没有问题,但我编译官方3566-eink-userbug就会报错,还是一样的问题”
----> ...

好的




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1