including glib.h will fail during compilation because it expects glibconfig.h to be in the standard include directory. change line 66 from: #include <glibconfig.h> to: #include <"/usr/lib/glib/include/glibconfig.h"> -OR- ln -s /usr/lib/glib/include/glibconfig.h /usr/include
BTW, the component would be gtk+, not glibc. If you use 'glib-config --cflags' in your CFLAGS, this won't happen.