gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DDEFAULT_BASEDIR=\"/usr/share/games/quake2\" -DDEFAULT_LIBDIR=\"/usr/games/lib/quake2-icculus-qmax\" -DQMAX -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium4 -Os -pipe -DLINUX_VERSION=\"3.21+r0.16\" -fPIC -o releasei386/ctf/p_weapon.o -c src/ctf/p_weapon.c gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DDEFAULT_BASEDIR=\"/usr/share/games/quake2\" -DDEFAULT_LIBDIR=\"/usr/games/lib/quake2-icculus-qmax\" -DQMAX -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium4 -Os -pipe -DLINUX_VERSION=\"3.21+r0.16\" -fPIC -o releasei386/ctf/q_shared.o -c src/ctf/q_shared.c src/ctf/q_shared.c: In function ''Q_fabs'': src/ctf/q_shared.c:258: warning: dereferencing type-punned pointer will break strict-aliasing rules src/ctf/q_shared.c:260: warning: dereferencing type-punned pointer will break strict-aliasing rules gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DDEFAULT_BASEDIR=\"/usr/share/games/quake2\" -DDEFAULT_LIBDIR=\"/usr/games/lib/quake2-icculus-qmax\" -DQMAX -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium4 -Os -pipe -DLINUX_VERSION=\"3.21+r0.16\" -shared -o releasei386/ctf/gamei386.so releasei386/ctf/g_ai.o releasei386/ctf/g_chase.o releasei386/ctf/g_cmds.o releasei386/ctf/g_combat.o releasei386/ctf/g_ctf.o releasei386/ctf/g_func.o releasei386/ctf/g_items.o releasei386/ctf/g_main.o releasei386/ctf/g_misc.o releasei386/ctf/g_monster.o releasei386/ctf/g_phys.o releasei386/ctf/g_save.o releasei386/ctf/g_spawn.o releasei386/ctf/g_svcmds.o releasei386/ctf/g_target.o releasei386/ctf/g_trigger.o releasei386/ctf/g_utils.o releasei386/ctf/g_weapon.o releasei386/ctf/m_move.o releasei386/ctf/p_client.o releasei386/ctf/p_hud.o releasei386/ctf/p_menu.o releasei386/ctf/p_trail.o releasei386/ctf/p_view.o releasei386/ctf/p_weapon.o releasei386/ctf/q_shared.o gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DDEFAULT_BASEDIR=\"/usr/share/games/quake2\" -DDEFAULT_LIBDIR=\"/usr/games/lib/quake2-icculus-qmax\" -DQMAX -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium4 -Os -pipe -DLINUX_VERSION=\"3.21+r0.16\" -fPIC -o releasei386/xatrix/g_ai.o -c src/xatrix/g_ai.c src/xatrix/g_ai.c: In function ''ai_checkattack'': src/xatrix/g_ai.c:767: warning: suggest explicit braces to avoid ambiguous ''else'' gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DDEFAULT_BASEDIR=\"/usr/share/games/quake2\" -DDEFAULT_LIBDIR=\"/usr/games/lib/quake2-icculus-qmax\" -DQMAX -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium4 -Os -pipe -DLINUX_VERSION=\"3.21+r0.16\" -fPIC -o releasei386/xatrix/g_chase.o -c src/xatrix/g_chase.c gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DDEFAULT_BASEDIR=\"/usr/share/games/quake2\" -DDEFAULT_LIBDIR=\"/usr/games/lib/quake2-icculus-qmax\" -DQMAX -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium4 -Os -pipe -DLINUX_VERSION=\"3.21+r0.16\" -fPIC -o releasei386/xatrix/g_cmds.o -c src/xatrix/g_cmds.c gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DDEFAULT_BASEDIR=\"/usr/share/games/quake2\" -DDEFAULT_LIBDIR=\"/usr/games/lib/quake2-icculus-qmax\" -DQMAX -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium4 -Os -pipe -DLINUX_VERSION=\"3.21+r0.16\" -fPIC -o releasei386/xatrix/g_combat.o -c src/xatrix/g_combat.c src/xatrix/g_combat.c: In function ''T_Damage'': src/xatrix/g_combat.c:157: warning: ''index'' may be used uninitialized in this function gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DDEFAULT_BASEDIR=\"/usr/share/games/quake2\" -DDEFAULT_LIBDIR=\"/usr/games/lib/quake2-icculus-qmax\" -DQMAX -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium4 -Os -pipe -DLINUX_VERSION=\"3.21+r0.16\" -fPIC -o releasei386/xatrix/g_func.o -c src/xatrix/g_func.c gcc -Wall -pipe -Dstricmp=strcasecmp -DHAVE_IPV6 -DDEFAULT_BASEDIR=\"/usr/share/games/quake2\" -DDEFAULT_LIBDIR=\"/usr/games/lib/quake2-icculus-qmax\" -DQMAX -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium4 -Os -pipe -DLINUX_VERSION=\"3.21+r0.16\" -fPIC -o releasei386/xatrix/g_items.o -c src/xatrix/g_items.c src/xatrix/g_items.c:29: error: static declaration of ''jacket_armor_index'' follows non-static declaration src/xatrix/g_local.h:449: error: previous declaration of ''jacket_armor_index'' was here src/xatrix/g_items.c:30: error: static declaration of ''combat_armor_index'' follows non-static declaration src/xatrix/g_local.h:450: error: previous declaration of ''combat_armor_index'' was here src/xatrix/g_items.c:31: error: static declaration of ''body_armor_index'' follows non-static declaration src/xatrix/g_local.h:451: error: previous declaration of ''body_armor_index'' was here make[1]: *** [releasei386/xatrix/g_items.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/quake2-icculus-0.16.1/work/quake2-r0.16.1'' make: *** [build_release] Error 2 checksums files ;-) files/0.16-rogue-nan.patch >>> checksums files ;-) files/README-postinstall >>> checksums files ;-) files/quake2-icculus-0.16.1-gentoo-paths.patch >>> checksums files ;-) files/quake2-icculus-0.16.1-amd64.patch >>> checksums files ;-) files/quake2.xpm >>> checksums src_uri ;-) quake2-r0.16.1.tar.gz >>> checksums src_uri ;-) maxpak.pak >>> checksums src_uri ;-) xatrixsrc320.shar.Z !!! ERROR: games-fps/quake2-icculus-0.16.1 failed. !!! Function src_compile, Line 103, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. emerge info: Portage 2.1_pre3-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-gentoo i686) ================================================================= System uname: 2.6.15-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.12.0_pre13 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -Os -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.dtiltas.lt/mirror/gentoo/ " MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X acpi alsa amarok apm arts audiofile avi berkdb bitmap-fonts bootsplash bzip2 cdio cdparanoia cdr cdrom cpudetection crypt cups curl divx4linux dvd dvdr dvdread eds elibc_glibc emboss encode exif expat fam ffmpeg firefox foomaticdb fortran freetype gdbm gif glut gmail gmp gphoto2 gpm gstreamer gtk2 h323 hal idn image imagemagick imlib ipv6 java jpeg jpeg2k kde kernel_linux lame lcd lcms libg++ libwww lm_sensors logitech-mouse mad math mikmod mjpeg mmx mng motif mozilla mozsvg mp3 mp4live mpeg mpeg2 mpeg4 mplayer msn musicbrainz mysql ncurses nls ntfs nvidia ogg oggvorbis openal opengl pam pcre pdf pdflib perl png python qt quicktime rar readline real screen sdl smp sounds spell sqlite sse sse2 ssl stream svg symlink syslog tcpd threads tiff truetype truetype-fonts type1 type1-fonts udev unicode usb userland_GNU utf8 v4l v4l2 videos visualization voice vorbis win32codecs wxwindows x86 xatrix xml2 xmms xscreensaver xv xvid zlib" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
use gcc3 until gcc4 is supported.
I look into future and I think we should begin supporting GCC :) if you talk about Gentoos support, not quake2icculus
Fixed in portage, thanks for report