installed version of gtk: gtk+-2.4.0 building gal-1.99.10 errors out on GtkComboBox with the following output: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -DORBIT2=1 -pthread -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libglade-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -DGAL_GLADEDIR=\"/usr/share/gal-2.0/1.99.10/glade\" -DGAL_IMAGESDIR=\"/usr/share/gal-2.0/1.99.10/pixmaps/categories\" -O2 -mcpu=athlon-xp -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -ffast-math -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -D_REENTRANT -c gtk-combo-stack.c -MT gtk-combo-stack.lo -MD -MP -MF .deps/gtk-combo-stack.TPlo -fPIC -DPIC -o .libs/gtk-combo-stack.lo In file included from gtk-combo-stack.h:29, from gtk-combo-stack.c:26: gtk-combo-box.h:34:1: warning: "GTK_COMBO_BOX" redefined In file included from /usr/include/gtk-2.0/gtk/gtk.h:61, from gtk-combo-stack.c:25: /usr/include/gtk-2.0/gtk/gtkcombobox.h:30:1: warning: this is the location of the previous definition In file included from gtk-combo-stack.h:29, from gtk-combo-stack.c:26: gtk-combo-box.h:35:1: warning: "GTK_COMBO_BOX_CLASS" redefined In file included from /usr/include/gtk-2.0/gtk/gtk.h:61, from gtk-combo-stack.c:25: /usr/include/gtk-2.0/gtk/gtkcombobox.h:31:1: warning: this is the location of the previous definition In file included from gtk-combo-stack.h:29, from gtk-combo-stack.c:26: gtk-combo-box.h:36:1: warning: "GTK_IS_COMBO_BOX" redefined In file included from /usr/include/gtk-2.0/gtk/gtk.h:61, from gtk-combo-stack.c:25: /usr/include/gtk-2.0/gtk/gtkcombobox.h:32:1: warning: this is the location of the previous definition In file included from gtk-combo-stack.h:29, from gtk-combo-stack.c:26: gtk-combo-box.h:38: error: redefinition of `GtkComboBox' /usr/include/gtk-2.0/gtk/gtkcombobox.h:36: error: `GtkComboBox' previously declared here gtk-combo-box.h:39: error: redefinition of `GtkComboBoxPrivate' /usr/include/gtk-2.0/gtk/gtkcombobox.h:38: error: `GtkComboBoxPrivate' previously declared here gtk-combo-box.h:40: error: redefinition of `GtkComboBoxClass' /usr/include/gtk-2.0/gtk/gtkcombobox.h:37: error: `GtkComboBoxClass' previously declared here gtk-combo-box.h:42: error: redefinition of `struct _GtkComboBox' gtk-combo-box.h:47: error: redefinition of `struct _GtkComboBoxClass' gtk-combo-box.h:72: error: conflicting types for `gtk_combo_box_new' /usr/include/gtk-2.0/gtk/gtkcombobox.h:65: error: previous declaration of `gtk_combo_box_new' make[3]: *** [gtk-combo-stack.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/gal-1.99.10/work/gal-1.99.10/gal/widgets' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gal-1.99.10/work/gal-1.99.10/gal' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gal-1.99.10/work/gal-1.99.10' make: *** [all] Error 2 !!! ERROR: gnome-extra/gal-1.99.10 failed. !!! Function gnome2_src_compile, Line 39, Exitcode 2 !!! compile failure
I think we should push for gal-1.99.11 quickly here.
I get the same error. Kind of annoying since it prevents gtkhtml from building, which prevents gtkhtml-sharp.dll wich is needed by monodoc. So please bump the ebuild!
gal-1.99.11 got added earlier on.. please test
assuming this is fixed with the new gal version
This isn't resolved until gal 1.99.11 gets moved into the stable keyword on all architectures where GTK+ 2.4 has moved to stable.
Nevermind, it's not in stable yet. More coffee for me!
*** Bug 48848 has been marked as a duplicate of this bug. ***