Emerge output: gcc -Wall -Dstricmp=strcasecmp -I../QW/client -I../QW/server -march=pentium4 -O2 -pipe -fomit-frame-pointer -DGL_EXT_SHARED=1 -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -falign-loops=2 -falign-jumps=2 -falign-functions=2 -DGLQUAKE -I/usr/local/src/Mesa-3.0/include -I/usr/include/glide -o releasei386-glibc/glclient/gl_draw.o -c ../QW/client/gl_draw.c In file included from ../QW/client/quakedef.h:76, from ../QW/client/gl_draw.c:24: ../QW/client/glquake.h:23: warning: ignoring #pragma warning ../QW/client/glquake.h:24: warning: ignoring #pragma warning ../QW/client/glquake.h:25: warning: ignoring #pragma warning ../QW/client/gl_draw.c: In function `GL_Upload8_EXT': ../QW/client/gl_draw.c:1217: error: `GL_COLOR_INDEX8_EXT' undeclared (first use in this function) ../QW/client/gl_draw.c:1217: error: (Each undeclared identifier is reported only once ../QW/client/gl_draw.c:1217: error: for each function it appears in.) make[1]: *** [releasei386-glibc/glclient/gl_draw.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/quake1-2.40/work/QW' make: *** [build_release] Error 2 !!! ERROR: games-fps/quake1-2.40 failed. !!! Function src_compile, Line 73, Exitcode 2 !!! failed to build QW !!! If you need support, post the topmost build error, NOT this status message. # emerge --info Portage 2.0.51-r3 (default-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.7 i686) ================================================================= System uname: 2.6.7 i686 Intel(R) Celeron(R) CPU 2.60GHz Gentoo Base System version 1.6.6 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.7-r4 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" 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 /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache cvs digest distlocks sandbox sign userpriv" GENTOO_MIRRORS="http://mirror.gentoo.sk/pub ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo " MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="cvs://ticho@cvs.gentoo.org:/var/cvsroot" USE="X aalib alsa apm avi berkdb bitmap-fonts bluetooth cdr crypt divx4linux encode f77 flac foomaticdb gdbm gif gnutls gtk gtk2 guile imlib java jpeg libg++ libwww mad mailwrapper mbox mikmod mmx mozilla moznocompose moznoirc moznomail moznoxft mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sasl sdl slang sse ssl tcltk tcpd tetex tiff truetype type1 unicode vim-with-x x86 xml2 xmms xv zlib"
Does it build with gcc 3.3 on your machine?
No, it yields same error. I have played around a bit, and found out that adding #include "GL/glext.h" in CW/client/glquake.h helps, but I did not finish compiling the whole package, due to lack of time. Hope this helps.
what are you using for opengl? try opengl-update for whatever you're using and see if that makes a difference please.
builds fine for me with nvidia-glx-1.0.5336-r2. Please reopen this bug with more information, thanks.
Still the same after `opengl-update nvidia`. I'm using media-video/nvidia-kernel-1.0.6629. What other info do you need?
I bet cyfred knows something
try it with nvidia-glx-1.0.6111 and see if it makes a difference please.
and reopen after trying that...thanks.
Works with 1.0.6111
remerge 6629 and see if that makes a difference please.
Hm, that seems to have helped... Maybe some of my headers got corrupt during some crash?
Dunno. I'll go ahead and mark this fixed.