emerge gaming-sources cd /usr/src rm linux ln -s linux-2.4.20-gaming-r12/ linux cd linux genkernel --menuconfig all [...] * ERROR: Failed to compile the "bzImage" target... * -- Grepping log... -- [ very many warnings ] gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gaming-r12/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i586 -nostdinc -iwithprefix include -DKBUILD_BASENAME=poly_l2 -c -o poly_l2.o poly_l2.c In file included from poly_atan.c:19: poly.h:78:17: missing terminating " character In file included from poly_atan.c:19: poly.h: In function `add_Xsig_Xsig': poly.h:79: error: syntax error before "movl" poly.h:79: error: `addl' undeclared (first use in this function) poly.h:79: error: (Each undeclared identifier is reported only once poly.h:79: error: for each function it appears in.) poly.h:79: error: syntax error before '%' token poly.h:80: error: `movl' undeclared (first use in this function) poly.h:80: error: `adcl' undeclared (first use in this function) poly.h:80: error: syntax error before '%' token poly.h:81: error: syntax error before '%' token poly.h:81:59: missing terminating " character poly.h:93:17: missing terminating " character poly.h: In function `add_two_Xsig': poly.h:94: error: syntax error before "movl" poly.h:94: error: `addl' undeclared (first use in this function) poly.h:94: error: syntax error before '%' token poly.h:95: error: `movl' undeclared (first use in this function) poly.h:95: error: `adcl' undeclared (first use in this function) poly.h:95: error: syntax error before '%' token poly.h:96: error: syntax error before '%' token poly.h:97:22: invalid suffix "f" on integer constant poly.h:97: error: `jnc' undeclared (first use in this function) poly.h:98: error: `rcrl' undeclared (first use in this function) poly.h:98: error: `rcrl' used prior to declaration poly.h:98: warning: implicit declaration of function `rcrl' poly.h:98: error: syntax error before '%' token poly.h:99: warning: implicit declaration of function `incl' poly.h:99: error: syntax error before '%' token poly.h:100:37: invalid suffix "f" on integer constant poly.h:100: error: `jmp' undeclared (first use in this function) poly.h:102:20: missing terminating " character make[2]: *** [poly_atan.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from poly_l2.c:19: poly.h:78:17: missing terminating " character In file included from poly_l2.c:19: poly.h: In function `add_Xsig_Xsig': [further errors] make[2]: *** [poly_l2.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.20-gaming-r12/arch/i386/math-emu' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.20-gaming-r12/arch/i386/math-emu' make: *** [_dir_arch/i386/math-emu] Error 2 * ERROR: Failed to compile the "bzImage" target... I already compiled linux-2.6.5-gentoo-r1 on my system without problems. tux linux # emerge info Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" 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="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox strict userpriv usersandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb cdr crypt cups doc dvd dvdr emacs encode esd f77 foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imap imlib java jpeg junit kde ldap libg++ libwww linguas_de linguas_en linguas_en_US linguas_ru mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline ruby scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb video_cards_radeon wmf x86 xml2 xmms xv zlib"
Confirming that this is happening to me also, brand new install following installer guide.
Since gaming-sources have been removed from the tree, the bug becomes invalid.