Unable to compile on current rawhide

Michael D. Wise micwise at bellsouth.net
Fri Dec 23 12:17:46 EST 2005


On Fri, 2005-12-23 at 11:53 -0500, Chris Shoemaker wrote:
> On Fri, Dec 23, 2005 at 10:26:24AM -0600, Michael D. Wise wrote:
> > On Fri, 2005-12-23 at 10:11 -0500, Chris Shoemaker wrote:
> > > On Fri, Dec 23, 2005 at 07:32:42AM -0600, Michael D. Wise wrote:
> > > > I can't compile a current svn checkout on the current rawhide.  I get
> > > > the following error:
> > > > 
> > > >  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../.. -I../../..
> > > > -I. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> > > > -Wno-uninitialized -Wall -Wunused -Wdeclaration-after-statement
> > > > -Wno-pointer-sign -MT guid.lo -MD -MP -MF .deps/guid.Tpo -c guid.c -fPIC
> > > > -DPIC -o .libs/guid.o
> > > > guid.c:60: error: expected '=', ',', ';', 'asm' or '__attribute__'
> > > > before '*' token
> > > > guid.c: In function 'guid_memchunk_init':
> > > > 
> > > > Installed version are:
> > > > 
> > > > qof-0.5.0-6.fc5 (from Extras)
> > > 
> > > What did configure show for:
> > > 
> > >   QOF support ...........: $QOF_VERSION
> > >   QOF location ..........: $QOF_PREFIX
> > >   QOF library dir .......: $QOF_LIB_DIR
> > > 
> > > If it found the external package, the quickest fix is probably to remove it.
> > > 
> > > guid.c is part of qof.
> > > 
> > It found the internal version.
> > 
> > QOF support ...........: internal
> > QOF location ..........: internal
> > QOF library dir .......: /home/michael.wise/usr/local/gnucash//lib
> > 
> > Just to be safe I removed the external package and re-ran configure.  I
> > still get the same error about guid.c.
> 
> Ok, hypothesis #2: Whatever version of glib2-devel you have finally
> removed deprecated GMemChunk from the public api.  Let me go see if
> there's some private header we can include until we get around to
> removing GMemChunk altogether.
> 
> -chris
> 
The glib2-devel version is glib2-devel-2.9.1-1.

Mind you I don't really know anything about programming.  I am learning
though every time I compile gnucash.  I was reading the API
documentation on gtk.org.  It does talk about how memory chunks have
been deprecated in 2.10.  Its replacement is the slice allocator.


Michael


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the gnucash-devel mailing list