标题: buildroot-2016.02编译错误 [打印本页] 作者: junleiwan 时间: 2017-7-28 23:42 标题: buildroot-2016.02编译错误 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
这个怎么解决?谢谢!作者: mh0039 时间: 2022-10-26 17:41
内存调大点即可