../include/ccoin/compat.h:26: error: static declaration of 'g_list_free_full' follows non-static declaration
/usr/local/include/glib-2.0/glib/glist.h:53: note: previous declaration of 'g_list_free_full' was here
Diagnosis: Typically a system either (a) needs compat.h help due to older GLib, or (b) does not need such help. All systems should be either "a" or "b". Your system configured as both "a"
and "b".
The most likely fix is to make sure you have GLib > 2.30, properly installed with pkg-config support.
Alternately, you may try manually editing compat.h to comment out the offending lines, and see if that works for you.
#if ((GLIB_MAJOR_VERSION == 2) && (GLIB_MINOR_VERSION < 30))
...
#endif /* GLIB_VERSION < 2.30 */