build problem

Mike Evans mikee at saxicola.idps.co.uk
Mon Jul 18 05:15:34 EDT 2011


On Monday 18 Jul 2011 02:39:47 Bill Hammond wrote:
> I've got the same problem under Ubuntu Natty.
> 
Same problem on Fedora14.
LIne 374 is the issue as g_printf() isn't in glib.h it's in <glib/gprintf.h> so that needs to be included.
There's also a small typo the line should be:
g_printf("Received Error Message %s\n", msg);
"I before E except after C"
Mike E

> Regards,
> 
> Bill
> 
> On 07/17/2011 09:36 PM, John Ralls wrote:
> > 
> > On Jul 17, 2011, at 8:17 PM, J. Alex Aycinena wrote:
> > 
> >> John,
> >>
> >> One of your recent commits related to testing gives me this error when
> >> I try to build:
> >>
> >> /home/gnucash-dev/svncheckouts/gnucash-clean/src/test-core/test-stuff.c:
> >> In function 'test_handle_faults':
> >> /home/gnucash-dev/svncheckouts/gnucash-clean/src/test-core/test-stuff.c:374:2:
> >> error: implicit declaration of function 'g_printf'
> >> [-Werror=implicit-function-declaration]
> >> cc1: all warnings being treated as errors
> > 
> > 
> > Alex,
> > 
> > That's very strange. g_printf() has been part of glib for a very long time. Surely you got something more, like not being able to find glib.h.
> > 
> > Regards,
> > John Ralls
> > 
> > 
> > _______________________________________________
> > gnucash-devel mailing list
> > gnucash-devel at gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> 
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> 

-- 
GPG Key: 1024D/050895C2
Keyserver: http://pgp.mit.edu/          
Search String: 0x050895C2


More information about the gnucash-devel mailing list