Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45104 - Gal-1.99.10 won't build because of conflicting gtkcombobox definitions
Summary: Gal-1.99.10 won't build because of conflicting gtkcombobox definitions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://mail.gnome.org/archives/garnom...
Whiteboard:
Keywords:
: 48848 (view as bug list)
Depends on:
Blocks: 45747
  Show dependency tree
 
Reported: 2004-03-18 21:51 UTC by William Page
Modified: 2004-04-24 07:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Page 2004-03-18 21:51:36 UTC
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
Comment 1 foser (RETIRED) gentoo-dev 2004-03-19 09:33:52 UTC
I think we should push for gal-1.99.11 quickly here.
Comment 2 Claes Mogren 2004-03-20 05:39:01 UTC
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!
Comment 3 foser (RETIRED) gentoo-dev 2004-03-22 04:47:17 UTC
gal-1.99.11 got added earlier on.. please test
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2004-03-28 10:08:43 UTC
assuming this is fixed with the new gal version
Comment 5 Brad Laue (RETIRED) gentoo-dev 2004-04-18 12:06:36 UTC
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.
Comment 6 Brad Laue (RETIRED) gentoo-dev 2004-04-18 12:11:25 UTC
Nevermind, it's not in stable yet. More coffee for me!
Comment 7 foser (RETIRED) gentoo-dev 2004-04-24 07:51:27 UTC
*** Bug 48848 has been marked as a duplicate of this bug. ***