Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70908 - games-fps/quake1 fails to compile
Summary: games-fps/quake1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-11 18:30 UTC by Andrej Kacian (RETIRED)
Modified: 2004-12-08 17:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Kacian (RETIRED) gentoo-dev 2004-11-11 18:30:33 UTC
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"
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-12 07:08:49 UTC
Does it build with gcc 3.3 on your machine?
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2004-11-12 07:23:53 UTC
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.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-11-19 22:47:44 UTC
what are you using for opengl?  try opengl-update for whatever you're using and
see if that makes a difference please.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-11-20 01:25:45 UTC
builds fine for me with nvidia-glx-1.0.5336-r2.  Please reopen this bug with more information, thanks.
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2004-11-20 05:06:05 UTC
Still the same after `opengl-update nvidia`. I'm using media-video/nvidia-kernel-1.0.6629. What other info do you need?
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2004-11-20 16:41:18 UTC
I bet cyfred knows something
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2004-12-05 04:40:41 UTC
try it with nvidia-glx-1.0.6111 and see if it makes a difference please.
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2004-12-07 03:50:53 UTC
and reopen after trying that...thanks.
Comment 9 Andrej Kacian (RETIRED) gentoo-dev 2004-12-08 16:21:23 UTC
Works with 1.0.6111
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2004-12-08 16:48:51 UTC
remerge 6629 and see if that makes a difference please.
Comment 11 Andrej Kacian (RETIRED) gentoo-dev 2004-12-08 17:11:35 UTC
Hm, that seems to have helped... Maybe some of my headers got corrupt during some crash?
Comment 12 Mr. Bones. (RETIRED) gentoo-dev 2004-12-08 17:22:27 UTC
Dunno.  I'll go ahead and mark this fixed.