i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_REENTRANT -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-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 -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/include/gnome-desktop-2.0 -I/usr/include/startup-notification-1.0 -I/usr/include/libnautilus-burn -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DGCONF_PREFIX=\""/apps/totem"\" -DDATADIR=\""/usr/share"\" -DLIBDIR=\""/usr/lib"\" -DLOGO_PATH=DATADIR\"\"G_DIR_SEPARATOR_S\"totem\"G_DIR_SEPARATOR_S\"totem_logo.png\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -fno-strict-aliasing -I/usr/X11R6/include -O2 -march=athlon-xp -pipe -c totem.c In file included from video-utils.c:7: /usr/include/libintl.h:40: error: parse error before "const" /usr/include/libintl.h:44: error: parse error before "const" /usr/include/libintl.h:51: error: parse error before "const" /usr/include/libintl.h:81: error: parse error before "const" /usr/include/libintl.h:85: error: parse error before "const" make[2]: *** [video-utils.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from totem-private.h:24, from totem.c:53: /usr/include/glib-2.0/glib/gi18n.h:42:1: warning: "dgettext" redefined In file included from /usr/include/libgnome-2.0/libgnome/gnome-i18n.h:38, from /usr/include/libgnome-2.0/libgnome/libgnome.h:30, from /usr/include/libgnomeui-2.0/gnome.h:5, from totem.c:23: /usr/include/libbonobo-2.0/bonobo/bonobo-i18n.h:61:1: warning: this is the location of the previous definition In file included from totem-private.h:24, from totem.c:53: /usr/include/glib-2.0/glib/gi18n.h:43:1: warning: "dcgettext" redefined In file included from /usr/include/libgnome-2.0/libgnome/gnome-i18n.h:38, from /usr/include/libgnome-2.0/libgnome/libgnome.h:30, from /usr/include/libgnomeui-2.0/gnome.h:5, from totem.c:23: /usr/include/libbonobo-2.0/bonobo/bonobo-i18n.h:63:1: warning: this is the location of the previous definition totem.c: In function `main': totem.c:3757: warning: statement with no effect totem.c:3758: warning: statement with no effect totem.c:3759: warning: statement with no effect make[2]: Leaving directory `/var/tmp/portage/totem-0.99.19/work/totem-0.99.19/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/totem-0.99.19/work/totem-0.99.19' make: *** [all-recursive-am] Error 2 !!! ERROR: media-video/totem-0.99.19 failed. !!! Function gnome2_src_compile, Line 40, Exitcode 2 !!! compile failure !!! If you need support, post the topmost build error, NOT this status message. emerge info: Gentoo Base System version 1.5.3 Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 mobile AMD Athlon(tm) XP2500+ distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/local/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect cvs digest distlocks sandbox sfperms sign strict" GENTOO_MIRRORS="http://zeus/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/ka0ttic/overlay" SYNC="rsync://zeus/gentoo-portage" USE="x86 3dnow X acpi aim alsa apache2 bash-completion berkdb bzlib cdr crypt cscope dvd esd fam fbcon gdbm gif gtk gtk2 imap imlib jpeg maildir mmx ncurses nls offensive opengl oss pam pcre pdflib perl png python readline ruby sdl slang sse ssl svga truetype unicode usb xml2 xmms xosd zlib"
Created attachment 44394 [details, diff] fix compilation of totem this patch fixes the compilation of totem (against totem 0.99.22)
The above patch fix the compilation of totem. I really don't know what the problem was, and i am not sure if this this the correct solution. regards Benoit
the patch seems harmless to me, so we'll stick with it. Thanks & applied in .19 & .22