Hi3518EV300编译U-Boot和内核报错:loadlocale.c:130: _nl_int
下载Hi3518EV300的SDK后编译内核和U-boot,发现爆出如下错误:
scripts/kconfig/conf --silentoldconfig Kconfig
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
Aborted (core dumped)
CHK include/config.h
CFG u-boot.cfg
arm-himix100-linux-gcc: loadlocale.c:130: _nl_intern_locale_data: Assertion `cnt < (sizeof (_nl_value_type_LC_TIME) / sizeof (_nl_value_type_LC_TIME[0]))' failed.
Aborted (core dumped)
scripts/Makefile.autoconf:79: recipe for target 'u-boot.cfg' failed
make[1]: [u-boot.cfg] Error 1
make: No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'. Stop.
网上搜索清一色的是编译未加载到环境变量中,但我已将编译链加载到环境变量中。
解决办法1:
执行vim ~/.bashrc,添加以下代码:
export LC_ALL=C
export PATH="/opt/hisi-linux/x86-arm/arm-himix100-linux/bin:$PATH"
source ~/.bashrc
重新make,发现依旧错误,打开内核和U-boot的Makefile,注释掉unexport LC_ALL
再次编译,通过。
原文链接:https://www.cnblogs.com/Lxk0825/p/10538455.html
相关推荐:
- 分享
- 举报
-
浏览量:1162次2023-11-08 18:12:13
-
浏览量:6645次2022-06-10 21:02:09
-
2020-08-03 19:14:56
-
浏览量:11721次2022-06-10 21:26:04
-
浏览量:12298次2022-06-10 21:31:53
-
浏览量:5857次2021-09-24 13:45:50
-
浏览量:10330次2020-09-06 23:18:26
-
浏览量:1038次2023-06-12 14:35:25
-
浏览量:1504次2023-06-12 14:18:20
-
浏览量:2742次2019-11-05 20:18:39
-
浏览量:574次2023-12-11 11:42:02
-
2023-06-12 14:35:55
-
浏览量:16120次2020-09-07 14:43:14
-
2021-07-13 14:13:08
-
浏览量:1264次2023-06-12 14:35:43
-
浏览量:3470次2022-01-31 09:00:24
-
浏览量:843次2024-01-24 15:46:44
-
浏览量:3608次2022-10-13 17:29:06
-
2020-11-09 12:31:13
-
广告/SPAM
-
恶意灌水
-
违规内容
-
文不对题
-
重复发帖
雨林霖
感谢您的打赏,如若您也想被打赏,可前往 发表专栏 哦~
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明