Firefly开源社区

打印 上一主题 下一主题

[技术讨论] 单独编译rkmedia的时候编译失败

34

积分

0

威望

0

贡献

技术小白

积分
34

单独编译rkmedia的时候编译失败

发表于 2024-9-5 15:41:09      浏览:611 | 回复:3        打印      只看该作者   [复制链接] 楼主
  • 固件类型: 自行编译的固件
  • SDK包名称: rv1126_rv1109_linux_ai_camera_release_20210306
  • SDK更新到哪个COMMIT: 0000-00-00 00:00:00
  • SDK修改内容: 无修改
  • Log日志: err_log.txt
问题描述及复现步骤:
sdk版本:rv1126_rv1109_linux_ai_camera_release_20210306/.repo/manifests/rv1126_rv1109/rv1126_rv1109_linux_release_20240117_v2.2.5f.xml
source envsetup.sh  选择 9. firefly_rv1126_rv1109_rkmedia_uvcc (选择firefly_rv1126_rv110_uvcc 也是同样错误)
./build.sh external/rkmedia

然后报错


./build.sh external/rkmedia
processing option: external/rkmedia
Found BR2_PACKAGE_RKMEDIA in buildroot/output/firefly_rv1126_rv1109_uvcc/.config
make: Entering directory '/home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc'
umask 0022 && make -C /home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot O=/home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc/. rkmedia-dirclean
grep: /home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/../kernel/.config: No such file or directory
rm -Rf /home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc/build/rkmedia
make: Leaving directory '/home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc'
make: Entering directory '/home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc'
umask 0022 && make -C /home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot O=/home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc/. rkmedia-rebuild
grep: /home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/../kernel/.config: No such file or directory
rm -f /home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc/build/rkmedia/.stamp_rsynced
rm -f /home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc/build/rkmedia/.stamp_staging_installed
rm -f /home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc/build/rkmedia/.stamp_target_installed
rm -f /home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc/build/rkmedia/.stamp_images_installed
rm -f /home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc/build/rkmedia/.stamp_host_installed
touch /home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc/build/rkmedia/.stamp_built || true
touch: cannot touch '/home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc/build/rkmedia/.stamp_built': No such file or directory
rm -f /home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc/build/rkmedia/.stamp_built
>>> toolchain-external-custom  Configuring
Cannot execute cross-compiler '/home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/../prebuilts/gcc/linux-x86/arm/gcc-arm-8.3-2019.03-x86_64-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc'
package/pkg-generic.mk:218: recipe for target '/home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc/build/toolchain-external-custom/.stamp_configured' failed
make[1]: *** [/home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc/build/toolchain-external-custom/.stamp_configured] Error 1
Makefile:16: recipe for target '_all' failed
make: *** [_all] Error 2
make: Leaving directory '/home/lcx/rv1126_rv1109_linux_ai_camera_release_20210306/buildroot/output/firefly_rv1126_rv1109_uvcc'
ERROR: Running build_pkg failed!
ERROR: exit code 2 from line 451:
    make -C buildroot/output/$pkg_cfg ${pkg_final_target}-rebuild O=buildroot/output/$pkg_cfg


err_log.txt

3.41 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

34

积分

0

威望

0

贡献

技术小白

积分
34
发表于 2024-9-5 15:51:58        只看该作者  沙发
另外全部编译也都过不了,但是实际上需要rkmedia
回复

使用道具 举报

34

积分

0

威望

0

贡献

技术小白

积分
34
发表于 2024-9-5 16:22:36        只看该作者  板凳

sdk版本2024.01.17.2.25
回复

使用道具 举报

34

积分

0

威望

0

贡献

技术小白

积分
34
发表于 2024-9-5 16:32:19        只看该作者  地板
全自动编译错误
代码同步已完成
执行./build.sh launch
选择cam-crv1126s2u-uvcc-BE-45.mk
执行./build.sh all (执行./build.sh错误相同)

err_log.txt

6.35 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

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

本版积分规则

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