OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 2326|回复: 1

编译这个make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-distclean

[复制链接]

5

主题

10

帖子

0

精华

初级会员

Rank: 2

积分
79
金钱
79
注册时间
2020-10-3
在线时间
14 小时
发表于 2023-6-17 16:27:29 | 显示全部楼层 |阅读模式
10金钱
编译这个make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-distclean

按照手册装好了交叉编译器
报错:
make: arm-linux-gnueabihf-distcleangcc:命令未找到
/bin/sh: 1: arm-linux-gnueabihf-distcleangcc: not found
dirname: 缺少操作数
Try 'dirname --help' for more information.
scripts/kconfig/conf  --silentoldconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
scripts/kconfig/Makefile:46: recipe for target 'silentoldconfig' failed
make[2]: *** [silentoldconfig] Error 1
Makefile:477: recipe for target 'silentoldconfig' failed
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'。 停止。

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

190

主题

401

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1289
金钱
1289
注册时间
2014-6-15
在线时间
143 小时
发表于 2023-6-18 16:18:43 | 显示全部楼层
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- 就够了不要 distclean

回复

使用道具 举报

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

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-2-23 04:23

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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