When i emerge mupen64 I get the following error: >>> Emerging (2 of 2) games-emulation/mupen64-0.5-r4 * mupen64_src-0.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Adding group 'games' to your system ... * - Groupid: 35 * Adding user 'games' to your system ... * - Userid: 36 * - Shell: /bin/bash * - Home: /usr/games * - Groups: games * - Creating /usr/games in / >>> Unpacking source... >>> Unpacking mupen64_src-0.5.tar.bz2 to /var/tmp/portage/games-emulation/mupen64-0.5-r4/work * Applying mupen64-0.5-anisotropic.patch ... [ ok ] * Applying mupen64-0.5-gentoo3.patch ... [ ok ] * Applying mupen64-glN64-ucode.patch ... [ ok ] * Applying mupen64-glN64-noasmfix.patch ... [ ok ] * Applying mupen64-0.5-gcc42.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/games-emulation/mupen64-0.5-r4/work >>> Compiling source in /var/tmp/portage/games-emulation/mupen64-0.5-r4/work/mupen64_src-0.5 ... make -j3 mupen64 x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o main/rom.o main/rom.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/r4300.o r4300/r4300.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/cop0.o r4300/cop0.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/special.o r4300/special.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/regimm.o r4300/regimm.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/exception.o r4300/exception.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o memory/tlb.o memory/tlb.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o memory/memory.o memory/memory.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o memory/dma.o memory/dma.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing `sdl-config --cflags` -c -o r4300/interupt.o r4300/interupt.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/cop1.o r4300/cop1.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/tlb.o r4300/tlb.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/cop1_w.o r4300/cop1_w.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/cop1_s.o r4300/cop1_s.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/cop1_d.o r4300/cop1_d.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/recomp.o r4300/recomp.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o memory/pif.o memory/pif.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/bc.o r4300/bc.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/cop1_l.o r4300/cop1_l.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/pure_interp.o r4300/pure_interp.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/compare_core.o r4300/compare_core.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o main/plugin.o main/plugin.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o main/unzip.o main/unzip.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o main/ioapi.o main/ioapi.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o memory/flashram.o memory/flashram.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o main/md5.o main/md5.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o main/mupenIniApi.o main/mupenIniApi.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o main/savestates.o main/savestates.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/profile.o r4300/profile.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o main/adler32.o main/adler32.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/gr4300.o r4300/x86/gr4300.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/gcop0.o r4300/x86/gcop0.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/assemble.o r4300/x86/assemble.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/gcop1.o r4300/x86/gcop1.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/gcop1_s.o r4300/x86/gcop1_s.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/gcop1_d.o r4300/x86/gcop1_d.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/gtlb.o r4300/x86/gtlb.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/gregimm.o r4300/x86/gregimm.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/gspecial.o r4300/x86/gspecial.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/gcop1_w.o r4300/x86/gcop1_w.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/debug.o r4300/x86/debug.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/rjump.o r4300/x86/rjump.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/gbc.o r4300/x86/gbc.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/gcop1_l.o r4300/x86/gcop1_l.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o r4300/x86/regcache.o r4300/x86/regcache.c x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o main/gui_gtk/main_gtk.o main/gui_gtk/main_gtk.c `pkg-config gtk+-2.0 --cflags` -D_GTK2 `sdl-config --cflags` x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o main/gui_gtk/translate.o main/gui_gtk/translate.c `pkg-config gtk+-2.0 --cflags` -D_GTK2 x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o main/gui_gtk/messagebox.o main/gui_gtk/messagebox.c `pkg-config gtk+-2.0 --cflags` -D_GTK2 In file included from main/gui_gtk/main_gtk.c:38: main/gui_gtk/../../memory/memory.h:236: Fehler: expected »:«, »,«, »;«, »}« or »__attribute__« before ».« token x86_64-pc-linux-gnu-gcc -m32 -march=core2 -O2 -pipe -fPIC -fno-strict-aliasing -c -o main/gui_gtk/aboutdialog.o main/gui_gtk/aboutdialog.c `pkg-config gtk+-2.0 --cflags` -D_GTK2 make: *** [main/gui_gtk/main_gtk.o] Fehler 1 make: *** Warte auf noch nicht beendete Prozesse... * * ERROR: games-emulation/mupen64-0.5-r4 failed. * Call stack: * ebuild.sh, line 48: Called src_compile * environment, line 2582: Called die * The specific snippet of code: * emake ${t} || die "emake ${t} failed"; * The die message: * emake mupen64 failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/games-emulation/mupen64-0.5-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-emulation/mupen64-0.5-r4/temp/environment'. * >>> Failed to emerge games-emulation/mupen64-0.5-r4, Log file: Reproducible: Always Steps to Reproduce: 1.emerge -av mupen64 notepuke bernhard # emerge --info Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r5-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.2.5 Timestamp of tree: Thu, 07 May 2009 09:15:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://linux.rudolfinum.sth.ac.at/" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo firefox flac fortran galago gamin gdbm gif glitz gnome gnome-keyring gnutls gpm gstreamer gtk gtkhtml hal iconv ipv6 isdnlog java java6 jpeg lame laptop ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib musicbrainz nautilus ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection samba sdl session spell spl sqlite sse sse2 ssl startup-notification stream subversion svg synaptics sysfs tagwriting tcpd theora threads tiff truetype unicode usb vorbis xcb xml xorg xulrunner xv zlib" ALSA_CARDS="snd-hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I'd strongly recommend switching to mupen64plus since mupen64 is not being developed furhter.
Fixed. Thanks for reporting.