when I try to emerge games-emulation/generator it fails om compiling. If I try with USE="-gtk" the last line of error changes to "!!! building svgalib" and if I try with USE="-gtk -svga -tcltk" the last line goes to "!!! building" the rest remains the same. Reproducible: Always Steps to Reproduce: Actual Results: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/games/generator/gen.tcl\" -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -O3 -march=athlon-xp -funroll-loops -pipe -O3 -ffast-math -fomit-frame-pointer -minline-all-stringops -fno-math-errno -march=pentium -malign-loops=5 -malign-jumps=5 -malign-functions=5 -c `test -f cpu68k.c || echo './'`cpu68k.c cc1: warning: -malign-loops is obsolete, use -falign-loops cc1: warning: -malign-jumps is obsolete, use -falign-jumps cc1: warning: -malign-functions is obsolete, use -falign-functions cpu68k.c:121:57: pasting "ui_log_critical" and "(" does not give a valid preprocessing token cpu68k.c:126:70: pasting "ui_log_critical" and "(" does not give a valid preprocessing token cpu68k.c:139:74: pasting "ui_log_critical" and "(" does not give a valid preprocessing token cpu68k.c:160:40: pasting "ui_log_critical" and "(" does not give a valid preprocessing token cpu68k.c:175:53: pasting "ui_log_verbose" and "(" does not give a valid preprocessing token make[2]: *** [cpu68k.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/generator-0.35/work/generator-0.35/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/generator-0.35/work/generator-0.35' make: *** [all] Error 2 !!! ERROR: games-emulation/generator-0.35 failed. !!! Function src_compile, Line 45, Exitcode 2 !!! building gtk Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.2) ================================================================= System uname: 2.6.2 i686 AMD Athlon(TM) XP 2400+ Gentoo Base System version 1.4.3.13p1 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/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="-O3 -march=athlon-xp -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://ibiblio.org/pub/Linux/distributions/gentoo/ http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apm avi berkdb cdr crypt cups doc dvd encode fbcon foomaticdb gdbm ggi gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg ncurses nls oggvorbis opengl pam pdflib perl png python qt quicktime readline sdl slang sse ssl svga tcltk tcpd tetex tiff truetype x86 xinerama xml2 xmms xv zlib"
/me does the jedi hand wave/ "This is not the Sega Genesis / Mega Drive console emulator you're looking for." I think gens might be more supported, if you can call an emulator supported. I've worked around the interesting macros by turning off logging in generator so it should be working now.
Despite this apparently being fixed some time ago, I'm still getting this error. It looks like this for me though: --- Begin Error --- source='ui-console.c' object='ui-console.o' libtool=no \ depfile='.deps/ui-console.Po' tmpdepfile='.deps/ui-console.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/games/generator/gen.tcl\" -march=athlon-xp -O2 -pipe -O3 -ffast-math -fomit-frame-pointer -minline-all-stringops -fno-math-errno -march=pentium -falign-loops=5 -falign-jumps=5 -falign-functions=5 -c `test -f ui-console.c || echo './'`ui-console.c ui-console.c:1238:28: pasting "ui_log_debug3" and "(" does not give a valid preprocessing token ui-console.c:1239:28: pasting "ui_log_debug2" and "(" does not give a valid preprocessing token ui-console.c:1240:28: pasting "ui_log_debug1" and "(" does not give a valid preprocessing token ui-console.c:1241:26: pasting "ui_log_user" and "(" does not give a valid preprocessing token ui-console.c:1242:29: pasting "ui_log_verbose" and "(" does not give a valid preprocessing token ui-console.c:1243:28: pasting "ui_log_normal" and "(" does not give a valid preprocessing token ui-console.c:1244:30: pasting "ui_log_critical" and "(" does not give a valid preprocessing token ui-console.c:1245:29: pasting "ui_log_request" and "(" does not give a valid preprocessing token make[2]: *** [ui-console.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/generator-0.35/work/generator-0.35/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/generator-0.35/work/generator-0.35' make: *** [all] Error 2 !!! ERROR: games-emulation/generator-0.35 failed. !!! Function src_compile, Line 67, Exitcode 2 !!! building svgalib --- End Error --- There is a patchset here: http://www.ghostwhitecrab.com/generator/ (which is endorsed by the Generator website) which adds some features and did not have this problem when compiling.
how about that patch get included into the ebuild?
Why is this marked as fixed? It doesn't work for me either.
Nor me...
I think comments about the patch ebuild should be at the link: http://bugs.gentoo.org/show_bug.cgi?id=76072 and not on this bug. I made a comment that I was having problems with the patch ebuild too.
Forgot to add that I also have a problem with the current ebuild (generator-0.35.ebuild) in portage: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../hdr -I. -I../cpu68k -I../ym2612 -I../raze -I../cmz80 -I../sn76496 -I../gtkopts -DFNAME_TCLSCRIPT=\"/usr/share/games/generator/gen.tcl\" -O3 -fweb -frename-registers -march=pentium4 -pipe -mtune=pentium4 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -msse -msse2 -mmmx -funroll-loops -falign-functions -fmerge-all-constants -mfpmath=sse -maccumulate-outgoing-args -fprefetch-loop-arrays -O3 -ffast-math -fomit-frame-pointer -minline-all-stringops -fno-math-errno -march=pentium -falign-loops=5 -falign-jumps=5 -falign-functions=5 -c `test -f ui-console.c || echo './'`ui-console.c ui-console.c:1238:1: pasting "ui_log_debug3" and "(" does not give a valid preprocessing token ui-console.c:1239:1: pasting "ui_log_debug2" and "(" does not give a valid preprocessing token ui-console.c:1240:1: pasting "ui_log_debug1" and "(" does not give a valid preprocessing token ui-console.c:1241:1: pasting "ui_log_user" and "(" does not give a valid preprocessing token ui-console.c:1242:1: pasting "ui_log_verbose" and "(" does not give a valid preprocessing token ui-console.c:1243:1: pasting "ui_log_normal" and "(" does not give a valid preprocessing token ui-console.c:1244:1: pasting "ui_log_critical" and "(" does not give a valid preprocessing token ui-console.c:1245:1: pasting "ui_log_request" and "(" does not give a valid preprocessing token make[2]: *** [ui-console.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/generator-0.35/work/generator-0.35/main' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/generator-0.35/work/generator-0.35' make: *** [all] Error 2 !!! ERROR: games-emulation/generator-0.35 failed. !!! Function src_compile, Line 67, Exitcode 2 !!! building svgalib !!! If you need support, post the topmost build error, NOT this status message.