找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 285|回复: 0

久久派打智能车

[复制链接]

2

主题

0

回帖

12

积分

新手上路

积分
12
发表于 2025-1-10 10:41:29 | 显示全部楼层 |阅读模式
编译内核时一直出现


fly@fly:~/桌面/LS2K0300-linux-4.19-main$ sudo  make vmlinuz ARCH=loongarch CROSS_COMPILE=loongarch64-linux-gnu- -j 4
/bin/sh: 1: loongarch64-linux-gnu-gcc: not found
/bin/sh: 1: loongarch64-linux-gnu-gcc: not found
/bin/sh: 1: loongarch64-linux-gnu-gcc: not found
/bin/sh: 1: loongarch64-linux-gnu-gcc: not found
make:loongarch64-linux-gnu-gcc:命令未找到
/bin/sh: 1: loongarch64-linux-gnu-gcc: not found
/bin/sh: 1: loongarch64-linux-gnu-gcc: not found
/bin/sh: 1: loongarch64-linux-gnu-gcc: not found
/bin/sh: 1: loongarch64-linux-gnu-gcc: not found
scripts/kconfig/conf  --syncconfig Kconfig
./scripts/gcc-version.sh: 26: loongarch64-linux-gnu-gcc: not found
./scripts/gcc-version.sh: 27: loongarch64-linux-gnu-gcc: not found
./scripts/gcc-version.sh: 29: loongarch64-linux-gnu-gcc: not found
./scripts/gcc-version.sh: 26: loongarch64-linux-gnu-gcc: not found
./scripts/gcc-version.sh: 27: loongarch64-linux-gnu-gcc: not found
./scripts/gcc-version.sh: 29: loongarch64-linux-gnu-gcc: not found
init/Kconfig:17: syntax error
init/Kconfig:16: invalid option
./scripts/clang-version.sh: 15: loongarch64-linux-gnu-gcc: not found
./scripts/gcc-plugin.sh: 11: loongarch64-linux-gnu-gcc: not found
make[2]: *** [scripts/kconfig/Makefile:69:syncconfig] 错误 1
make[1]: *** [Makefile:557:syncconfig] 错误 2
make: *** [Makefile:652:include/config/auto.conf.cmd] 错误 2

的错误,交叉编译链工具已经安装,并且环境变量也已经设置,而且还能编译文件,就是编译不了内核,这是什么情况

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

本版积分规则

Archiver|手机版|小黑屋|Discuz! X

GMT+8, 2025-1-18 10:09 , Processed in 0.078913 second(s), 18 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表