九鼎创展论坛中文版English
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 4196|回复: 2
打印 上一主题 下一主题

buildroot-2016.02编译错误

[复制链接]
跳转到指定楼层
楼主
发表于 2017-7-28 23:42:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
PATH="/home/jlwan/Kernal/buildroot-2016.02/output/host/bin:/home/jlwan/Kernal/buildroot-2016.02/output/host/sbin:/home/jlwan/Kernal/buildroot-2016.02/output/host/usr/bin:/home/jlwan/Kernal/buildroot-2016.02/output/host/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/Arm-linux-gcc/4.5.1/bin" PKG_CONFIG="/home/jlwan/Kernal/buildroot-2016.02/output/host/usr/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_LIBDIR="/home/jlwan/Kernal/buildroot-2016.02/output/host/usr/lib/pkgconfig"  /usr/bin/make -j2  -C /home/jlwan/Kernal/buildroot-2016.02/output/build/host-libglib2-2.46.2/
/usr/bin/make  all-recursive
Making all in .
Making all in m4macros
/usr/bin/make  all-am
make[5]: Nothing to be done for 'all-am'.
Making all in glib
/usr/bin/make  all-recursive
Making all in libcharset
/usr/bin/make  all-am
make[7]: Nothing to be done for 'all-am'.
Making all in pcre
/usr/bin/make  all-am
make[7]: Nothing to be done for 'all-am'.
Making all in update-pcre
/usr/bin/make  all-am
make[7]: Nothing to be done for 'all-am'.
Making all in .
  CC       libglib_2_0_la-gfileutils.lo
  CC       libglib_2_0_la-gdate.lo
gdate.c: In function 'g_date_strftime':
gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
       tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
       ^~~~~~
cc1: some warnings being treated as errors
Makefile:1848: recipe for target 'libglib_2_0_la-gdate.lo' failed
make[6]: *** [libglib_2_0_la-gdate.lo] Error 1
make[6]: *** 正在等待未完成的任务....
Makefile:2510: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
Makefile:1223: recipe for target 'all' failed
make[4]: *** [all] Error 2
Makefile:1211: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
Makefile:853: recipe for target 'all' failed
make[2]: *** [all] Error 2
package/pkg-generic.mk:195: recipe for target '/home/jlwan/Kernal/buildroot-2016.02/output/build/host-libglib2-2.46.2/.stamp_built' failed
make[1]: *** [/home/jlwan/Kernal/buildroot-2016.02/output/build/host-libglib2-2.46.2/.stamp_built] Error 2
Makefile:36: recipe for target '_all' failed
make: *** [_all] Error 2
这个怎么解决?谢谢!
回复

使用道具 举报

沙发
发表于 2022-10-26 17:41:40 | 只看该作者
内存调大点即可
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|手机版|小黑屋|深圳市九鼎创展科技官方论坛 ( 粤ICP备11028681号-2  

GMT+8, 2024-5-4 17:10 , Processed in 0.017871 second(s), 16 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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