- 收藏
- 点赞
- 分享
- 举报
下载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
相关推荐:
-
浏览量:5094次2022-06-10 21:02:09
-
浏览量:10042次2022-06-10 21:26:04
-
浏览量:10468次2022-06-10 21:31:53
-
2020-08-03 19:14:56
-
浏览量:6590次2020-09-06 23:18:26
-
浏览量:4542次2021-09-24 13:45:50
-
浏览量:1838次2019-11-05 20:18:39
-
2021-07-13 14:13:08
-
浏览量:2455次2019-12-28 10:19:54
-
2020-11-09 12:31:13
-
浏览量:1945次2022-05-20 10:31:05
-
浏览量:1488次2020-06-23 18:07:57
-
浏览量:1438次2022-01-31 09:00:24
-
2018-06-18 22:47:22
-
浏览量:11840次2020-09-07 14:43:14
-
浏览量:5468次2022-06-08 21:18:55
-
浏览量:3981次2020-08-30 12:34:17
-
2019-04-10 21:45:38
-
浏览量:1185次2022-10-13 17:29:06
雨林霖
暂无个性签名~
雨林霖






举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明