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” Hi3518EV300编译U-Boot和内核报错:loadlocale.c:130: _nl_int source ~/.bashrc

重新make,发现依旧错误,打开内核和U-boot的Makefile,注释掉unexport LC_ALL Hi3518EV300编译U-Boot和内核报错:loadlocale.c:130: _nl_int 再次编译,通过。

原文链接:https://www.cnblogs.com/Lxk0825/p/10538455.html

相关推荐:

常见音视频编码格式 海思多媒体(MPP)开发(1)——nvp6134驱动介绍 海思OSD开发系列(一) SDL_TTF框架移植

免责声明:文章内容来自互联网,本站不对其真实性负责,也不承担任何法律责任,如有侵权等情况,请与本站联系删除。
转载请注明出处:Hi3518EV300编译U-Boot和内核报错:loadlocale.c:130: _nl_int https://www.yhzz.com.cn/a/15289.html

上一篇 2023-05-12 17:36:04
下一篇 2023-05-12 17:44:15

相关推荐

联系云恒

在线留言: 我要留言
客服热线:400-600-0310
工作时间:周一至周六,08:30-17:30,节假日休息。