I tried to compile the latest CVS of Crystal Space (http://crystalspace3d.org), and the configure failed to find the GLX. The relevant config.log output is attached; key lines are: In file included from /usr/X11R6/include/GL/glx.h:337, from conftest.c:24: /usr/X11R6/include/GL/glxext.h:267: error: redefinition of typedef 'GLXFBConfigSGIX' /usr/X11R6/include/GL/glx.h:157: error: previous declaration of 'GLXFBConfigSGIX' was here /usr/X11R6/include/GL/glxext.h:271: error: redefinition of typedef 'GLXPbufferSGIX' /usr/X11R6/include/GL/glx.h:144: error: previous declaration of 'GLXPbufferSGIX' was here I tried re-emerging nvidia-glx without having any effect on the problem. I removed the gl.h, glext.h, glx.h, and glxext.h symlinks form /usr/X11R6/include/GL/ and running opengl-update nvidia again without effect. I saw that the symlinks for glext.h and glxext.h link to /usr/lib/opengl/global, rather than /usr/lib/opengl/nvidia, so I removed the symlinks and linked them to the nvidia versions. No effect. (Aside: Shouldn't those link to nvidia anyways? Why are they linked to global?) I fixed the problem by emerging nvidia-kernel-1.0.7174 and nvidia-glx-1.0.7174-r4. Crystal Space now configures correctly. This leads me to believe that this is a problem with GLX 7664. Reproducible: Always Steps to Reproduce: Try to configure Crystal Space CVS (see attachment for demo program) Actual Results: The configure failed to set up GLX correctly. The demo program used in the configure failed to compile with the error: In file included from /usr/X11R6/include/GL/glx.h:337, from conftest.c:24: /usr/X11R6/include/GL/glxext.h:267: error: redefinition of typedef 'GLXFBConfigSGIX' /usr/X11R6/include/GL/glx.h:157: error: previous declaration of 'GLXFBConfigSGIX' was here /usr/X11R6/include/GL/glxext.h:271: error: redefinition of typedef 'GLXPbufferSGIX' /usr/X11R6/include/GL/glx.h:144: error: previous declaration of 'GLXPbufferSGIX' was here See attached config.log portion for more information. Expected Results: configure should have found GLX and set it up. The demo program for the configure script should have compiled correctly. Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20041102-r1, 2.6.10-nitro4 i686) ================================================================= System uname: 2.6.10-nitro4 i686 AMD Athlon(TM) XP 2200+ Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 7 2005, 10:36:15)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.5, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -mfpmath=sse,387 -pipe -fexpensive-optimizations -fomit-frame-pointer -ffast-math -fprefetch-loop-arrays -fmerge-all-constants" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/X11/xkb /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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -mfpmath=sse,387 -pipe -fexpensive-optimizations -fomit-frame-pointer -ffast-math -fprefetch-loop-arrays -fmerge-all-constants" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.noved.org/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X alsa apm arts avi berkdb bitmap-fonts bonobo c++ cdr crypt cscope cups curl doc dvd emacs emboss encode esd evo fam fbcon foomaticdb fortran gb gd gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib ipv6 java jikes joystick jpeg junit kde leim lesstif libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg mpi mysql ncurses nls ogg oggvorbis openal opengl oss pam pdflib perl png postgres python qt quicktime readline ruby sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb vorbis wmf wxwindows xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 62445 [details] The portion of Crystal Space's config.log that relates to the GLX error
*** Bug 99640 has been marked as a duplicate of this bug. ***
*** Bug 136783 has been marked as a duplicate of this bug. ***
1.0.7664 no longer in the tree. If you have issues w/ up-to-date nvidia-drivers, then reopen please.