Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56653 - tenebrae-1.04 fails to compile with opengl-update nvidia
Summary: tenebrae-1.04 fails to compile with opengl-update nvidia
Status: RESOLVED WORKSFORME
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-07-10 23:11 UTC by Arnaud Boudou
Modified: 2004-10-22 20:10 UTC (History)
0 users

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 Arnaud Boudou 2004-07-10 23:11:58 UTC
When I tries to emerge tenebrae-1.04 (with an opengl-update nvidia), I get many redefinition errors

/usr/bin/gcc -DBASEDIR=/usr/share/games/quake-data -DUSERPREF_DIR -D__glx__ -DGLQUAKE  -I../ -march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387 -O6 -ffast-math -funroll-loops -fomit-frame-pointer -fexpensive-optimizations -o releasei386.glibc/glquake/gl_bumpparhelia.o -c ..//gl_bumpparhelia.c
In file included from ../gl_bumpparhelia.c:38:
../glATI.h:132: error: redefinition of `PFNGLACTIVETEXTUREARBPROC'
../glquake.h:487: error: `PFNGLACTIVETEXTUREARBPROC' previously declared here
../glATI.h:133: error: redefinition of `PFNGLCLIENTACTIVETEXTUREARBPROC'
../glquake.h:488: error: `PFNGLCLIENTACTIVETEXTUREARBPROC' previously declared here
../glATI.h:134: error: redefinition of `PFNGLMULTITEXCOORD1DARBPROC'
../glquake.h:489: error: `PFNGLMULTITEXCOORD1DARBPROC' previously declared here
../glATI.h:135: error: redefinition of `PFNGLMULTITEXCOORD1DVARBPROC'
../glquake.h:490: error: `PFNGLMULTITEXCOORD1DVARBPROC' previously declared here
../glATI.h:136: error: redefinition of `PFNGLMULTITEXCOORD1FARBPROC'
../glquake.h:491: error: `PFNGLMULTITEXCOORD1FARBPROC' previously declared here
../glATI.h:137: error: redefinition of `PFNGLMULTITEXCOORD1FVARBPROC'
../glquake.h:492: error: `PFNGLMULTITEXCOORD1FVARBPROC' previously declared here
../glATI.h:138: error: redefinition of `PFNGLMULTITEXCOORD1IARBPROC'
../glquake.h:493: error: `PFNGLMULTITEXCOORD1IARBPROC' previously declared here
../glATI.h:139: error: redefinition of `PFNGLMULTITEXCOORD1IVARBPROC'
../glquake.h:494: error: `PFNGLMULTITEXCOORD1IVARBPROC' previously declared here
../glATI.h:140: error: redefinition of `PFNGLMULTITEXCOORD1SARBPROC'
../glquake.h:495: error: `PFNGLMULTITEXCOORD1SARBPROC' previously declared here
../glATI.h:141: error: redefinition of `PFNGLMULTITEXCOORD1SVARBPROC'
../glquake.h:496: error: `PFNGLMULTITEXCOORD1SVARBPROC' previously declared here
../glATI.h:142: error: redefinition of `PFNGLMULTITEXCOORD2DARBPROC'
../glquake.h:497: error: `PFNGLMULTITEXCOORD2DARBPROC' previously declared here
../glATI.h:143: error: redefinition of `PFNGLMULTITEXCOORD2DVARBPROC'
../glquake.h:498: error: `PFNGLMULTITEXCOORD2DVARBPROC' previously declared here
../glATI.h:144: error: redefinition of `PFNGLMULTITEXCOORD2FARBPROC'
../glquake.h:499: error: `PFNGLMULTITEXCOORD2FARBPROC' previously declared here
../glATI.h:145: error: redefinition of `PFNGLMULTITEXCOORD2FVARBPROC'
../glquake.h:500: error: `PFNGLMULTITEXCOORD2FVARBPROC' previously declared here
../glATI.h:146: error: redefinition of `PFNGLMULTITEXCOORD2IARBPROC'
../glquake.h:501: error: `PFNGLMULTITEXCOORD2IARBPROC' previously declared here
../glATI.h:147: error: redefinition of `PFNGLMULTITEXCOORD2IVARBPROC'
../glquake.h:502: error: `PFNGLMULTITEXCOORD2IVARBPROC' previously declared here
../glATI.h:148: error: redefinition of `PFNGLMULTITEXCOORD2SARBPROC'
../glquake.h:503: error: `PFNGLMULTITEXCOORD2SARBPROC' previously declared here
../glATI.h:149: error: redefinition of `PFNGLMULTITEXCOORD2SVARBPROC'
../glquake.h:504: error: `PFNGLMULTITEXCOORD2SVARBPROC' previously declared here
../glATI.h:150: error: redefinition of `PFNGLMULTITEXCOORD3DARBPROC'
../glquake.h:505: error: `PFNGLMULTITEXCOORD3DARBPROC' previously declared here
../glATI.h:151: error: redefinition of `PFNGLMULTITEXCOORD3DVARBPROC'
../glquake.h:506: error: `PFNGLMULTITEXCOORD3DVARBPROC' previously declared here
../glATI.h:152: error: redefinition of `PFNGLMULTITEXCOORD3FARBPROC'
../glquake.h:507: error: `PFNGLMULTITEXCOORD3FARBPROC' previously declared here
../glATI.h:153: error: redefinition of `PFNGLMULTITEXCOORD3FVARBPROC'
../glquake.h:508: error: `PFNGLMULTITEXCOORD3FVARBPROC' previously declared here
../glATI.h:154: error: redefinition of `PFNGLMULTITEXCOORD3IARBPROC'
../glquake.h:509: error: `PFNGLMULTITEXCOORD3IARBPROC' previously declared here
../glATI.h:155: error: redefinition of `PFNGLMULTITEXCOORD3IVARBPROC'
../glquake.h:510: error: `PFNGLMULTITEXCOORD3IVARBPROC' previously declared here
../glATI.h:156: error: redefinition of `PFNGLMULTITEXCOORD3SARBPROC'
../glquake.h:511: error: `PFNGLMULTITEXCOORD3SARBPROC' previously declared here
../glATI.h:157: error: redefinition of `PFNGLMULTITEXCOORD3SVARBPROC'
../glquake.h:512: error: `PFNGLMULTITEXCOORD3SVARBPROC' previously declared here
../glATI.h:158: error: redefinition of `PFNGLMULTITEXCOORD4DARBPROC'
../glquake.h:513: error: `PFNGLMULTITEXCOORD4DARBPROC' previously declared here
../glATI.h:159: error: redefinition of `PFNGLMULTITEXCOORD4DVARBPROC'
../glquake.h:514: error: `PFNGLMULTITEXCOORD4DVARBPROC' previously declared here
../glATI.h:160: error: redefinition of `PFNGLMULTITEXCOORD4FARBPROC'
../glquake.h:515: error: `PFNGLMULTITEXCOORD4FARBPROC' previously declared here
../glATI.h:161: error: redefinition of `PFNGLMULTITEXCOORD4FVARBPROC'
../glquake.h:516: error: `PFNGLMULTITEXCOORD4FVARBPROC' previously declared here
../glATI.h:162: error: redefinition of `PFNGLMULTITEXCOORD4IARBPROC'
../glquake.h:517: error: `PFNGLMULTITEXCOORD4IARBPROC' previously declared here
../glATI.h:163: error: redefinition of `PFNGLMULTITEXCOORD4IVARBPROC'
../glquake.h:518: error: `PFNGLMULTITEXCOORD4IVARBPROC' previously declared here
../glATI.h:164: error: redefinition of `PFNGLMULTITEXCOORD4SARBPROC'
../glquake.h:519: error: `PFNGLMULTITEXCOORD4SARBPROC' previously declared here
../glATI.h:165: error: redefinition of `PFNGLMULTITEXCOORD4SVARBPROC'
../glquake.h:520: error: `PFNGLMULTITEXCOORD4SVARBPROC' previously declared here
make[1]: *** [releasei386.glibc/glquake/gl_bumpparhelia.o] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/tenebrae-1.04/work/tenebrae_0/linux'
make: *** [build_release] Erreur 2

!!! ERROR: games-fps/tenebrae-1.04 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)

I don't get these errors with an previous opengl-update xorg-x11



Reproducible: Always
Steps to Reproduce:
1. switch to nvidia glx
2. try to emerge tenebrae
3.

Actual Results:  
tenebrae fails to compile

Expected Results:  
tenebrae should compile

nvidia-glx : 1.0.6106

emerge --info
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-ck5)
=================================================================
System uname: 2.6.7-ck5 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387"
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/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -ftracer -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bonobo cdr crypt cups dvd dvdr encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib ipv6 java jpeg kde
ldap libg++ libwww linguas_fr mad mikmod mmx motif moznocompose moznoirc mpeg
ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png ppds python qt
quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd truetype usb
x86 xml2 xv zlib"
Comment 1 SpanKY gentoo-dev 2004-08-15 00:43:47 UTC
seems to be fixed in cvs :x
Comment 2 Arnaud Boudou 2004-08-15 04:43:15 UTC
I still does not compile here.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-08-23 23:04:47 UTC
Workes fine for me with nvidia-glx-1.0.5336-r2.  Try remerging your nvidia stuff and running opengl-update again.
Comment 4 Arnaud Boudou 2004-08-23 23:23:59 UTC
I use nvidia-glx-1.0.6111 and after emerge it (again), tenebrae still doesn't compile, with the same error message
Comment 5 Michael Boone 2004-10-17 14:18:28 UTC
same exact thing here!!! ARGH! nvidia 1.0.6.etc
Comment 6 Michael Boone 2004-10-22 20:10:05 UTC
Alright. Found a workaround... USE TENEBRAE_2 instead of tenebrae_0.

$emerge cvs
$scvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tenebrae co tenebrae_2
//(it will install it into either /root/ if you are root or /home/<user> go to that dir for this example I use a root install
$cd /root/tenebrae_2/linux
$ln -s Makefile.i386linux Makefile
$make