While emergeing gnome-alsamixer-0.9.6 I got the following error; In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48, from /usr/include/libgnomeui-2.0/gnome.h:7, from gam-main.c:25: /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: error: syntax error before "GtkCombo" /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: warning: no semicolon at end of struct or union /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:65: error: syntax error before '}' token /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error before "GtkComboClass" /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: warning: no semicolon at end of struct or union /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:76: error: syntax error before '}' token gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share/gnome-alsamixer"\" -DPIXMAP_ICONDIR=\""/usr/share/pixmaps/gnome-alsamixer"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/X11R6/include -I/usr/include/libxml2 -I/usr/include/alsa -mcpu=athlon-tbird -O3 -pipe -c gam-mixer.c make[2]: *** [gam-main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48, from /usr/include/libgnomeui-2.0/gnome.h:7, from gam-mixer.c:26: /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: error: syntax error before "GtkCombo" /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:61: warning: no semicolon at end of struct or union /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:65: error: syntax error before '}' token /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: error: syntax error before "GtkComboClass" /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:68: warning: no semicolon at end of struct or union /usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:76: error: syntax error before '}' token make[2]: *** [gam-mixer.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-alsamixer-0.9.6/work/gnome-alsamixer-0.9.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-alsamixer-0.9.6/work/gnome-alsamixer-0.9.6' make: *** [all-recursive-am] Error 2 !!! ERROR: media-sound/gnome-alsamixer-0.9.6 failed. !!! Function src_compile, Line 418, Exitcode 2 !!! emake failed Reproducible: Always Steps to Reproduce: 1. emerge gnome-alsamixer 2. 3. Actual Results: compile stopped # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.4-gentoo) ================================================================= System uname: 2.6.4-gentoo i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.3.13p1 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-tbird -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.ccccom.com http://cudlug.cudenver.edu/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode esd evo fam foomaticdb gb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls ofx oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang slp spell ssl svga tcpd tetex truetype usb x86 xinerama xml xml2 xmms xv zlib"
*** This bug has been marked as a duplicate of 45747 ***
no dupe
you libgnomeui stuff isn't 2.6 yet. gnome-alsamixer has no problems with gtk-2.4
sorry, actually, this is still a bug, i guess libgnomeui needs to have GTK_DISABLE_DEPRECATED removed.
So Alastair , do you need gnome 2.6 to build this and that libgnomeui needs to have GTK_DISABLE_DEPRECATED removed. Just trying to clarify the build requirements.
added patch to gnome-alsamixer-0.9.6