查看: 768|回复: 1

ubuntu_linux_sdk编译问题

[复制链接]

4

主题

16

回帖

272

积分

中级会员

Rank: 3Rank: 3

积分
272
发表于 2024-7-18 11:02:58 | 显示全部楼层 |阅读模式
(为了高效,请按如下格式提问)

硬件主板型号: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)




回复

使用道具 举报

0

主题

77

回帖

461

积分

中级会员

Rank: 3Rank: 3

积分
461
发表于 2024-7-18 11:22:52 | 显示全部楼层
你好!请按照wiki上的教程搭建环境,再进行编译;或者使用docker环境进行编译。相关链接如下:
https://wiki.youyeetoo.cn/zh/YY3568/environment
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|风火轮WIKI|手机版|小黑屋|深圳风火轮团队 ( 粤ICP备17095099号 )

GMT+8, 2024-10-31 17:01 , Processed in 0.061232 second(s), 19 queries .

快速回复 返回顶部 返回列表
 
【客服1】 商务合作 15289193
【客服2】 业务洽谈 13257599
【客服3】 售前咨询 510313198
【邮箱】
smartfire@smartfire.cn