/bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g0 -pipe -Wall -c -o bitlog.lo bitlog.cc
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g0 -pipe -Wall -c bitlog.cc -fPIC -DPIC -o .libs/bitlog.o
In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9:0,
from bitlog.h:28,
from bitlog.cc:21:
/usr/include/glib-2.0/glib/gmacros.h:32:2: ошибка: #error "Only <glib.h> can be included directly."
make[3]: *** [bitlog.lo] Ошибка 1
В чем проблема? Как это побороть?