gcc 3.4.1 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/glib-2.0 -I/usr/lib/glib-2.0/include -I . -I ./../util -I ../.. -DEGG_COMPILATION -I../../libegg/util -I/usr/include/heimdal -I/usr/include/libxml2 -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnome-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/gconf/2 -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/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtkhtml-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/gtksourceview-1.0 -I/usr/include/libcroco -Wall -O3 -mtune=pentium2 -march=pentium2 -pipe -fomit-frame-pointer -I../../libneon -MT eggtoolbar.lo -MD -MP -MF .deps/eggtoolbar.Tpo -ceggtoolbar.c -fPIC -DPIC -o .libs/eggtoolbar.o eggtoolbar.c:2545: error: conflicting types for 'egg_toolbar_append_element' eggtoolbar.h:212: error: previous declaration of 'egg_toolbar_append_element' was here eggtoolbar.c:2545: error: conflicting types for 'egg_toolbar_append_element' eggtoolbar.h:212: error: previous declaration of 'egg_toolbar_append_element' was here eggtoolbar.c:2562: error: conflicting types for 'egg_toolbar_prepend_element' eggtoolbar.h:222: error: previous declaration of 'egg_toolbar_prepend_element' was here eggtoolbar.c:2562: error: conflicting types for 'egg_toolbar_prepend_element' eggtoolbar.h:222: error: previous declaration of 'egg_toolbar_prepend_element' was here make[3]: *** [eggtoolbar.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/screem-0.10.2-r1/work/screem-0.10.2/libegg/toolbar' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/screem-0.10.2-r1/work/screem-0.10.2/libegg' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/screem-0.10.2-r1/work/screem-0.10.2' make: *** [all] Error 2 !!! ERROR: dev-util/screem-0.10.2-r1 failed. !!! Function src_compile, Line 53, Exitcode 2 !!! make failed
I have the same failure on x86: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/glib-2.0 -I/usr/lib/glib-2.0/include -I . -I ./../util -I ../.. -DEGG_COMPILATION -I../../libegg/util -I/usr/include/libxml2 -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnome-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/gconf/2 -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/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtkhtml-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/gtksourceview-1.0 -I/usr/include/libcroco -Wall -Os -march=athlon-xp -fomit-frame-pointer -pipe -I../../libneon -MT eggtoolbar.lo -MD -MP -MF .deps/eggtoolbar.Tpo -c eggtoolbar.c -fPIC -DPIC -o .libs/eggtoolbar.o eggtoolbar.c:2545: error: conflicting types for 'egg_toolbar_append_element' eggtoolbar.h:212: error: previous declaration of 'egg_toolbar_append_element' was here eggtoolbar.c:2545: error: conflicting types for 'egg_toolbar_append_element' eggtoolbar.h:212: error: previous declaration of 'egg_toolbar_append_element' was here eggtoolbar.c:2562: error: conflicting types for 'egg_toolbar_prepend_element' eggtoolbar.h:222: error: previous declaration of 'egg_toolbar_prepend_element' was here eggtoolbar.c:2562: error: conflicting types for 'egg_toolbar_prepend_element' eggtoolbar.h:222: error: previous declaration of 'egg_toolbar_prepend_element' was here make[3]: *** [eggtoolbar.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/screem-0.10.2-r1/work/screem-0.10.2/libegg/toolbar' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/screem-0.10.2-r1/work/screem-0.10.2/libegg' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/screem-0.10.2-r1/work/screem-0.10.2' make: *** [all] Error 2 !!! ERROR: dev-util/screem-0.10.2-r1 failed. Portage 2.0.51_rc7 (gcc34-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8.1-ck9 i686) ================================================================= System uname: 2.6.8.1-ck9 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks fixpackages prelink sandbox" GENTOO_MIRRORS="ftp://ftp.tiscali.nl/pub/mirror/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://www.mirror.ac.uk/mirror/www.ibiblio.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X Xaw3d aalib aim alsa apm audiofile avi berkdb bidi bindist bitmap-fonts bonobo bzlib cdb cdparanoia cdr crypt cups curl curlwrappers dedicated dga dio directfb divx4linux dv dvb dvd dvdr dvdread edl emacs emacs-w3 encode esd fam fbcon flac flash foomaticdb gb gd gdbm ggi gif gimpprint gmail gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal i8x0 icc iconv icq imagemagick imap imlib immqt immqt-bc inifile ithreads jabber jack java jbig jikes joystick jpeg lcms ldap le libcaca libedit libg++ libgda libwww lzo lzw-tiff mad mikmod mime ming mmap mmx mmx2 mmxext mng motif mozilla moznoirc moznomail mozsvg mpeg mpi msn mule mythtv nas ncurses network nls nocd nomac nptl nvidia offensive oggvorbis ooo-kde openal opengl oscar oss pam pcntl pcre pdflib perl pic pie png python qt quicktime readline rtc ruby samba sasl scanner sdl session shared sharedmem simplexml slang slp snmp sockets socks5 spell sse sse2 ssl stroke svg svga tcltk tcpd tga theora threads tidy tiff tokenizer truetype unicode usb v4l v4l2 videos vim-with-x wmf x86 xml xml2 xmms xosd xprint xv xvid xvmc yahoo zlib linguas_en linguas_nl"
commited a patch to fix that problem. seems to work on gcc 3.4.2 for me.
Yep, it works (screem compiled fully and runs fine with the new patch). Thank you, Alastair!