[Mageia-dev] [changelog] [RPM] cauldron core/release glib2.0-2.31.2-1.mga2

Funda Wang fundawang at gmail.com
Sun Dec 4 12:56:38 CET 2011

2011/12/4 Dick Gevers <dvgevers at xs4all.nl>:
> In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0,
>                 from defs.h:27,
>                 from account.c:24:
> /usr/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h> can
> be included directly." account.c: In function ‘account_address_exist’:
It says clearly, only glib.h can be included. You may want to check
defs.h or account.c, for something like:
#include <glib/foo.h>

and change it into
#include <glib.h>

Don't forget reporting upstream.

More information about the Mageia-dev mailing list