LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 12-19-2016, 04:07 PM   #1
/arun/ank
LQ Newbie
 
Registered: Nov 2016
Posts: 6

Rep: Reputation: Disabled
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.
 
Old 12-19-2016, 04:42 PM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

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

--disable-compile-warnings
 
Old 12-19-2016, 05:14 PM   #3
/arun/ank
LQ Newbie
 
Registered: Nov 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by spiky0011 View Post
Check you had this in your configure, and didn't miss it or miss type.

--disable-compile-warnings

Thank you! this solved my problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] pkg-config error in LFS Carl_cj Linux From Scratch 7 02-24-2015 08:32 PM
LFS 6.5 Version, error in 'make check' of pkg-config Veena_Gecw Linux From Scratch 0 10-27-2012 06:22 AM
[SOLVED] Pkg-config error spiky0011 Linux From Scratch 7 03-09-2012 01:42 PM
[SOLVED] Ok I,m having problems with Make Depend and pkg-config spiky0011 Linux From Scratch 7 12-12-2011 12:36 PM
pkg-config - how do I make a .pc file? needlern32724 Linux - Software 2 07-19-2006 10:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration