Dana 2.12.2012 0:16, alex lupu je napisao: > > -------------------------------------------------------------------------- > make[4]: Entering directory `/usr/src/poppler-0.20.5/glib/demo' > CC main.o > In file included from /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf.h:35:0, > from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, > from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, > from /usr/include/gtk-2.0/gdk/gdk.h:33, > from /usr/include/gtk-2.0/gtk/gtk.h:32, > from main.c:19: > /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:260:1: error: unknown type > name 'G_CONST_RETURN' > /usr/include/gtk-2.0/gdk-pixbuf/gdk-pixbuf-core.h:260:22: error: expected '=', > ',', ';', 'asm' or '__attribute__' before '*' token > make[4]: *** [main.o] Error 1 > ---------------------------------------------------------------------------
This is interesting. The question is, why is gdk-pixbuf.h included from gtk-2.0 hierarchy. If I remember correctly, gdk-pixbuf includes should be in /usr/include/gdk-pixbuf-2.0, not in /usr/include/gtk-2.0/gdk-pixbuf. gdk-pixbuf was part of GTK+2 before GTK+3 appeared, but that was really long time ago (before GTK+-2.22 I think). Is it possible that you might have leftovers from older versions of software on your system? If so, you are going to have a bad time ... -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
