Unable to compile on current rawhide

Chris Shoemaker c.shoemaker at cox.net
Fri Dec 23 12:05:54 EST 2005


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':
> > > 

In configure.in, prefix the following line with '#' to comment it out:
 AC_DEFINE(G_DISABLE_DEPRECATED,1,[Don't use any deprecated glib functions.])

If that works for you, I'll commit the change.

-chris


More information about the gnucash-devel mailing list