On Saturday, March 10, 2012 09:39:30 AM Jean-Louis Martineau did opine:

> Which version of glib-2 are you using? The doc says g_queue_free_full
> was added in 2.32?
> We must find in which 2.31.? it was added?
> 
> $ pkg-config glib-2.0 --modversion

2.31.16
 
> Jean-Louis
> > Additional info derived from building amanda-4.0.0alpha.svn.4591 this
> > evening:
> > 
> > libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../config -I../gnulib
> > -fno- strict-aliasing -D_GNU_SOURCE -pthread -I/usr/include/glib-2.0
> > - I/usr/lib/glib-2.0/include -Wall -Wextra -Wparentheses
> > -Wdeclaration-after- statement -Wmissing-prototypes
> > -Wstrict-prototypes -Wmissing-declarations - Wformat
> > -Wformat-security -Wsign-compare -Wfloat-equal -Wold-style-
> > definition -Wno-strict-aliasing -Wno-unknown-pragmas -g -O2
> > -fno-strict- aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT
> > amxml.lo -MD -MP - MF .deps/amxml.Tpo -c amxml.c  -fPIC -DPIC -o
> > .libs/amxml.o
> > In file included from util.h:39:0,
> > 
> >                   from amxml.c:34:
> > glib-util.h:75:6: error: conflicting types for 'g_queue_free_full'
> > /usr/include/glib-2.0/glib/gqueue.h:76:6: note: previous declaration
> > of 'g_queue_free_full' was here
> > make[3]: *** [amxml.lo] Error 1
> > make[3]: Leaving directory
> > `/home/amanda/amanda-4.0.0alpha.svn.4591/common- src'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory
> > `/home/amanda/amanda-4.0.0alpha.svn.4591/common- src'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home/amanda/amanda-4.0.0alpha.svn.4591'
> > make: *** [all] Error 2
> > 
> > Which of course kills the make.  So I still don't have a working
> > backup.
> > 
> > Which direction do I point the finger of blame?
> > 
> > Cheers, Gene

I commented out that line in glib-util.h and then it bailed on the next 
line because "g_thread_init' is deprecated (declared at 
/usr/include/glib-2.0/glib/deprecated/gthread.h:259)

So this isn't going to be a one line conditional from the looks of it.  
FWIW, I went back about 20 releases since I still had the tarballs, but 
they bail out identically in the make.

I left a fuss on the pclos forum 36 hours ago but it hasn't generated a 
reply.

Thanks, Jean-Louis.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene>
We really don't have any enemies.  It's just that some of our best
friends are trying to kill us.

Reply via email to