ubuntu_linux_sdk编译问题
(为了高效,请按如下格式提问)硬件主板型号:yy3568
固件名称/系统版本:yy3568-ubuntu-linux-sdk-231112
自编的或固件下载地址:yy3568_ubuntu_免费高速下载|百度网盘-分享无限制 (baidu.com)
Log日志: (可以导出,用TXT附件上传)
# 2024-07-18 10:47:48
2024-07-18T10:47:48 can't find package Expect
2024-07-18T10:47:48 while executing
2024-07-18T10:47:48 "package require Expect"
2024-07-18T10:47:48 (file "/usr/bin/unbuffer" line 6)
问题描述及复现步骤:
这一步构建开始出错,日志显示找不到expect
已安装还是报错,tcl库也装好了,交叉编译版本有没有要求?
==========================================
Start building recovery(buildroot)
==========================================
......
make: Leaving directory '/home/a206/ssh/yzq/yy3568/yy3568-ubuntu-linux-sdk-231112/buildroot'
Done in 0s(error code: 1)
Failed to build rockchip_rk3568_recovery:
# 2024-07-18 10:47:48
2024-07-18T10:47:48 can't find package Expect
2024-07-18T10:47:48 while executing
2024-07-18T10:47:48 "package require Expect"
2024-07-18T10:47:48 (file "/usr/bin/unbuffer" line 6)
Please check details in /home/a206/ssh/yzq/yy3568/yy3568-ubuntu-linux-sdk-231112/output/log/2024-07-18_10-45-32/br-rockchip_rk3568_recovery_2024-07-18_10-47-48.log
Command exited with non-zero status 1
you take 0:01.86 to build recovery(buildroot)
ERROR: Running /home/a206/ssh/yzq/yy3568/yy3568-ubuntu-linux-sdk-231112/device/rockchip/common/scripts/mk-recovery.sh - build_hook failed!
ERROR: exit code 1 from line 29:
/usr/bin/time -f "you take %E to build recovery(buildroot)" "$SCRIPTS_DIR/mk-buildroot.sh" $RK_RECOVERY_CFG "$DST_DIR"
ERROR: call stack:
mk-recovery.sh: build_hook(29)
mk-recovery.sh: main(42)
ERROR: Running /home/a206/ssh/yzq/yy3568/yy3568-ubuntu-linux-sdk-231112/device/rockchip/common/build-hooks/99-all.sh - build_all failed!
ERROR: exit code 1 from line 26:
"$SCRIPTS_DIR/mk-recovery.sh"
ERROR: call stack:
99-all.sh: build_all(26)
99-all.sh: build_allsave(98)
99-all.sh: build_hook(123)
build-helper: try_func(63)
build-helper: try_hook(95)
build-helper: source(173)
99-all.sh: main(133)
ERROR: Running /home/a206/ssh/yzq/yy3568/yy3568-ubuntu-linux-sdk-231112/device/rockchip/common/build-hooks/99-all.sh - try_func build_hook allsave failed!
ERROR: exit code 1 from line 67:
build_hook
ERROR: call stack:
build-helper: try_func(67)
build-helper: try_hook(95)
build-helper: source(173)
99-all.sh: main(133)
ERROR: Running ./build.sh - run_hooks build allsave failed!
ERROR: exit code 1 from line 160:
/home/a206/ssh/yzq/yy3568/yy3568-ubuntu-linux-sdk-231112/device/rockchip/common/build-hooks/99-all.sh build allsave
ERROR: call stack:
build.sh: run_hooks(160)
build.sh: run_build_hooks(179)
build.sh: main(474)
build.sh: main(489)
ERROR: Running ./build.sh - run_build_hooks build allsave failed!
ERROR: exit code 1 from line 182:
build
ERROR: call stack:
build.sh: run_build_hooks(182)
build.sh: main(474)
build.sh: main(489)
你好!请按照wiki上的教程搭建环境,再进行编译;或者使用docker环境进行编译。相关链接如下:
https://wiki.youyeetoo.cn/zh/YY3568/environment
页:
[1]