LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS v7.10 - Pkg-config ( 6.19.1) make error (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-v7-10-pkg-config-6-19-1-make-error-4175595752/)

/arun/ank 12-19-2016 04:07 PM

LFS v7.10 - Pkg-config ( 6.19.1) make error
 
Hi,

I've successfully made it to install gcc for the second time. However, while running 'make' for pkg-config-0.29.1 , i am encountering :
Code:


gdate.c: In function 'g_date_strftime':
gdate.c:2497:7 error: format not a string literal, format string not included [-Werror=format-nonliteral]
tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);

cc1: some warnings being treated as errors
make[6]: *** [libglib_2_0_la-gdate.lo] Error 1
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make(2): *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


My build has passed all the checks up to this point. Any help is appreciated.

spiky0011 12-19-2016 04:42 PM

Check you had this in your configure, and didn't miss it or miss type.

--disable-compile-warnings

/arun/ank 12-19-2016 05:14 PM

Quote:

Originally Posted by spiky0011 (Post 5644051)
Check you had this in your configure, and didn't miss it or miss type.

--disable-compile-warnings


Thank you! this solved my problem.


All times are GMT -5. The time now is 10:12 PM.