Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 17993

Summary: GTKGLEXT will not build 0.7.0
Product: Gentoo Linux Reporter: Bob Paddock <bob.paddock>
Component: New packagesAssignee: Alastair Tse (RETIRED) <liquidx>
Status: RESOLVED FIXED    
Severity: normal CC: foser
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bob Paddock 2003-03-22 06:26:50 UTC
Doing 'emerge rsync;emerge -u world' causes the follwoing error
when trying to compile gtkglext 0.7.0.

!!! ERROR: x11-libs/gtkglext-0.7.0 failed.
!!! Function gnome2_src_compile, Line 41, Exitcode 2
!!! compile failure

query-x11.TPlo  -fPIC -DPIC -o gdkglquery-x11.lo
In file included from gdkglx.h:32,
                 from gdkglquery-x11.c:23:
../../gdk/x11/gdkglglxext.h:34: redefinition of `GLXFBConfig'
/usr/X11R6/include/GL/glx.h:53: `GLXFBConfig' previously declared here
../../gdk/x11/gdkglglxext.h:35: redefinition of `GLXFBConfigID'
/usr/X11R6/include/GL/glx.h:43: `GLXFBConfigID' previously declared here
../../gdk/x11/gdkglglxext.h:36: redefinition of `GLXContextID'
/usr/X11R6/include/GL/glx.h:38: `GLXContextID' previously declared here
../../gdk/x11/gdkglglxext.h:37: redefinition of `GLXWindow'
/usr/X11R6/include/GL/glx.h:42: `GLXWindow' previously declared here
../../gdk/x11/gdkglglxext.h:38: redefinition of `GLXPbuffer'
/usr/X11R6/include/GL/glx.h:41: `GLXPbuffer' previously declared here
make[4]: *** [gdkglquery-x11.lo] Error 1
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2003-03-25 20:54:08 UTC
are you using a nvidia card or have nvidia-glx installed?
Comment 2 Jason H. 2003-03-26 02:45:03 UTC
I have that same card, and get that same error. So, it's not just limited to one person!
Using 0.7.1 seems to make the problem go away because it switches to the xfree version of
OpenGL. Perhaps this should be implemented into the 0.7.0 build, or the people responsible
should be informed so a new release won't have that problem?
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-03-26 09:00:44 UTC
foser, you feel confident to bump 0.7.1 to stable which has your workaround with  nvidia headers? 

i don't have a nvidia card to test.
Comment 4 foser (RETIRED) gentoo-dev 2003-03-26 18:06:21 UTC
#2 : it's an nvidia problem, not gtkglext

0.7.1 bumped to stable for x86 now