I am trying to compile  Amanda 2.6.1p2 on MacOSX (10.11.6) and it is giving me 
this error:

In file included from amxml.c:34:
In file included from ./util.h:39:
./glib-util.h:67:6: error: conflicting types for 'g_list_free_full'
void g_list_free_full(GList * list);
     ^
/opt/local/include/glib-2.0/glib/glist.h:56:10: note: previous declaration is
      here
void     g_list_free_full               (GList            *list,
         ^
In file included from amxml.c:34:
In file included from ./util.h:39:
./glib-util.h:68:6: error: conflicting types for 'g_slist_free_full'
void g_slist_free_full(GSList * list);
     ^
/opt/local/include/glib-2.0/glib/gslist.h:55:10: note: previous declaration is
      here
void     g_slist_free_full               (GSList           *list,
         ^
In file included from amxml.c:34:
In file included from ./util.h:39:
./glib-util.h:69:6: error: conflicting types for 'g_queue_free_full'
void g_queue_free_full(GQueue * queue);
     ^
/opt/local/include/glib-2.0/glib/gqueue.h:77:10: note: previous declaration is
      here
void     g_queue_free_full      (GQueue           *queue,
         ^
3 errors generated.

I am suspecting that the version of glib is newer than Amanda expects.  I am 
not sure how to procede...

(I am using this version of amanda to match what I have on my CentOS 6 box, 
which is the amanda server for my LAN.)

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
[email protected]       -- Webhosting Services
                                                  

Reply via email to