蝈蝈 发表于 2022-10-11 11:29:20

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

/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: *** Error 2
make: *** Waiting for unfinished jobs....
scripts/Makefile.build:153: recipe for target 'scripts/mod/devicetable-offsets.s' failed
make: *** Error 2
scripts/Makefile.build:484: recipe for target 'scripts/mod' failed
make: *** Error 2
Makefile:579: recipe for target 'scripts' failed
make: *** 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


895816513 发表于 2022-10-11 11:53:10

你是不是没有使用脚本编译,而是自己用make去编译了。

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

蝈蝈 发表于 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
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: *** 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: *** 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

895816513 发表于 2022-10-11 14:27:46

看提示嘛,下载不了,需要翻墙。
页: [1]
查看完整版本: rk3399pro sdk提示不存在交叉编译工具链