Subscriptions wrote at 02:21 +0000 on Jun 16, 2012: > As there is no Amanda 3.3.1 binary build for 64 bit Ubuntu 12.04, I've > downloaded the latest stable version, but when I run the make I get the > following error > > > 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/x86_64-linux-gnu/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 -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:10: note: previous declaration of > 'g_queue_free_full' was here > make[3]: *** [amxml.lo] Error 1 > > I ran ./configure with the defaults prior to make
Just remove g_queue_free_full from common-src/glib-util.[ch] ... http://amanda.svn.sourceforge.net/viewvc/amanda?view=revision&revision=4592 I don't think the version in amanda was ever(?) used.
