Firefly开源社区

打印 上一主题 下一主题

[Linux] rk3399pro sdk提示不存在交叉编译工具链

50

积分

0

威望

0

贡献

技术小白

积分
50
QQ

rk3399pro sdk提示不存在交叉编译工具链

发表于 2022-10-11 11:29:20      浏览:5781 | 回复:3        打印      只看该作者   [复制链接] 楼主
  • 固件类型: 自行编译的固件
  • SDK包名称: rk3399pro_linux_release_v2.5.1_20210304
  • SDK更新到哪个COMMIT: 0000-00-00 00:00:00
  • SDK修改内容: 未修改
  • Log日志: log.zip
问题描述及复现步骤:
/home/zhang/linux/01_rk3399pro/rk3399pro_linux_release_v2.5.1_20210304
#
# configuration written to .config
#
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CC      scripts/mod/empty.o
  CC      scripts/mod/devicetable-offsets.s
  CHK     include/generated/utsrelease.h
aarch64-buildroot-linux-gnu-gcc:No such file or directory
Is your PATH set correctly?
aarch64-buildroot-linux-gnu-gcc:No such file or directory
Is your PATH set correctly?
scripts/Makefile.build:277: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 2
make[2]: *** Waiting for unfinished jobs....
scripts/Makefile.build:153: recipe for target 'scripts/mod/devicetable-offsets.s' failed
make[2]: *** [scripts/mod/devicetable-offsets.s] Error 2
scripts/Makefile.build:484: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
Makefile:579: recipe for target 'scripts' failed
make: *** [scripts] Error 2
ERROR: Running build_kernel failed!
ERROR: exit code 2 from line 598:
    make ARCH=$RK_ARCH $RK_KERNEL_DTS.img -j$RK_JOBS


log.zip

634 Bytes, 下载次数: 1, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

899

积分

0

威望

6

贡献

技术大神

Rank: 8Rank: 8

积分
899
发表于 2022-10-11 11:53:10        只看该作者  沙发
你是不是没有使用脚本编译,而是自己用make去编译了。

请在sdk目录下,使用./build.sh kernel 命令去编译
回复

使用道具 举报

50

积分

0

威望

0

贡献

技术小白

积分
50
QQ
发表于 2022-10-11 12:36:44        只看该作者  板凳
895816513 发表于 2022-10-11 11:53
你是不是没有使用脚本编译,而是自己用make去编译了。

请在sdk目录下,使用./build.sh kernel 命令去编 ...

2022-10-10T21:36:01 >>> host-qemu 4.2.0 Downloading
2022-10-10T21:36:01 --2022-10-10 21:36:01--  http://download.qemu.org/qemu-4.2.0.tar.xz
2022-10-10T21:36:01 Connecting to 127.0.0.1:12333... connected.
2022-10-10T21:36:01 Proxy request sent, awaiting response... 307 Temporary Redirect
2022-10-10T21:36:01 Location: https://download.qemu.org:80/qemu-4.2.0.tar.xz [following]
2022-10-10T21:36:01 --2022-10-10 21:36:01--  https://download.qemu.org:80/qemu-4.2.0.tar.xz
2022-10-10T21:36:01 Resolving download.qemu.org (download.qemu.org)... 13.107.213.49, 13.107.246.49, 2620:1ec:bdf::49, ...
2022-10-10T21:36:01 Connecting to download.qemu.org (download.qemu.org)|13.107.213.49|:80... connected.
2022-10-10T21:36:01 OpenSSL: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
2022-10-10T21:36:01 Unable to establish SSL connection.
2022-10-10T21:36:01 --2022-10-10 21:36:01--  http://sources.buildroot.net/qemu-4.2.0.tar.xz
2022-10-10T21:36:01 Connecting to 127.0.0.1:12333... connected.
2022-10-10T21:36:02 Proxy request sent, awaiting response... 404 Not Found
2022-10-10T21:36:02 2022-10-10 21:36:02 ERROR 404: Not Found.
2022-10-10T21:36:02
2022-10-10T21:36:02 package/pkg-generic.mk:166: recipe for target '/home/zhang/linux/01_rk3399pro/rk3399pro_linux_release_v2.5.1_20210304/buildroot/output/rockchip_rk3399pro_combine/build/host-qemu-4.2.0/.stamp_downloaded' failed
2022-10-10T21:36:02 make[1]: *** [/home/zhang/linux/01_rk3399pro/rk3399pro_linux_release_v2.5.1_20210304/buildroot/output/rockchip_rk3399pro_combine/build/host-qemu-4.2.0/.stamp_downloaded] Error 1
2022-10-10T21:36:02 /home/zhang/linux/01_rk3399pro/rk3399pro_linux_release_v2.5.1_20210304/buildroot/output/rockchip_rk3399pro_combine/Makefile:16: recipe for target '_all' failed
2022-10-10T21:36:02 make: *** [_all] Error 2
Command exited with non-zero status 1
you take 0:07.15 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 726:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG
回复

使用道具 举报

899

积分

0

威望

6

贡献

技术大神

Rank: 8Rank: 8

积分
899
发表于 2022-10-11 14:27:46        只看该作者  地板
看提示嘛,下载不了,需要翻墙。
回复

使用道具 举报

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

本版积分规则

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