Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152972 - x11-drivers/nvidia-drivers-1.0.9626 - GLX_FRONT_LEFT_EXT missing in GL headers
Summary: x11-drivers/nvidia-drivers-1.0.9626 - GLX_FRONT_LEFT_EXT missing in GL headers
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: X11 External Driver Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-27 05:44 UTC by Christian Becke
Modified: 2006-10-27 14:49 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 Christian Becke 2006-10-27 05:44:20 UTC
When using nvidia's opengl implementation GLX_FRONT_LEFT_EXT is not defined. Using xorg-x11's implementation, GLX_FRONT_LEFT_EXT is defined in glx.h.
This causes e.g. libcm (from CVS) build to fail. Switching opengl to xorg-x11 fixes the build.

This is with
app-admin/eselect-opengl-1.0.5
x11-drivers/nvidia-drivers-1.0.9626
media-libs/mesa-6.5.1-r1

with nvidia:
# eselect opengl nvidia
Switching to nvidia OpenGL interface... done

# ls -l /usr/include/GL/glx.h
lrwxrwxrwx 1 root root 36 27. Okt 14:43 /usr/include/GL/glx.h -> /usr/lib/opengl/nvidia/include/glx.h

# grep GLX_FRONT_LEFT_EXT /usr/include/GL/glx.h
[nothing]

with xorg-x11:
# eselect opengl set xorg-x11
Switching to xorg-x11 OpenGL interface... done

# ls -l /usr/include/GL/glx.h
lrwxrwxrwx 1 root root 38 27. Okt 14:49 /usr/include/GL/glx.h -> /usr/lib/opengl/xorg-x11/include/glx.h

# grep GLX_FRONT_LEFT_EXT /usr/include/GL/glx.h
/usr/include/GL/glx.h:#define GLX_FRONT_LEFT_EXT                 0x20DE
/usr/include/GL/glx.h:#define GLX_FRONT_EXT                      GLX_FRONT_LEFT_EXT


Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.12.5
Last Sync: Fri, 27 Oct 2006 04:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-overlays/my /usr/local/portage-overlays/picard /usr/local/portage-overlays/xgl-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi aiglx aim alsa amuled ao apache2 asf audiofile avahi bash-completion berkdb bitmap-fonts bluetooth bookmarks bzip2 cairo canvas caps cddb cdparanoia cdr cli cracklib crypt css ctype cups curl daap dbus divx dlloader dri dts dv dvd dvdr dvdread dvi eds effects elibc_glibc emboss encode esd evo exif expat fam fame fbcon ffmpeg firefox flac fontconfig foomaticdb fortran ftp gd gdbm gif gimp gimpprint glitz glut glx gmedia gnokii gnome gnome-print gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv icq idn imagemagick imap imlib input_devices_keyboard input_devices_mouse ipv6 irmc isdnlog ithreads jack jack-tmpfs java javascript jpeg kdeenablefinal kernel_linux ladcca ladspa lcms libg++ libsamplerate linguas_de linuxthreads-tls lzo mad maildir memlimit mhash mikmod mime ming mjpeg mmap mmx mmxext mng mozdevelop mozilla moznoirc moznomail mozsvg mp3 mpeg mplayer msn multiuser musicbrainz mysql mysqli nautilus ncurses network nfs nls no-htdocs no-old-linux noxft nptl nptlonly nsplugin ogg oggvorbis openal opengl openssl oscar oss pam pam_console pam_timestamp pcre pdf pdo-external perl php plugin png portaudio posix ppds pppd python qt3 qt4 quicktime rar readline realmedia reflection remote samba sblive scanner sdl session sms sndfile sockets sound soundtouch sox speex spell spl sse ssl startup-notification subtitles svg svga sysvipc t1lib tcpd theora threads tidy tiff truetype truetype-fonts type1 type1-fonts udev unicode usb userland_GNU utf8 vcd vhosts video_cards_nvidia vorbis win32codecs wmf wmp wxgtk1 wxwindows xine xml xml2 xorg xpm xscreensaver xsl xv xvid yv12 zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-27 06:43:52 UTC
There's nothing that we can do about it.  You'll need to submit a report to NVIDIA to fix it.
Comment 2 Christian Becke 2006-10-27 11:20:08 UTC
Thank you, I will do that.
I reported it here because I thought it could be eselect-opengl related - and in this bug[1] Jeremy Huddleston asked to file bug reports when switching to xorg opengl is needed in order to compile something.

[1] http://bugs.gentoo.org/show_bug.cgi?id=111877#c53
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2006-10-27 14:49:41 UTC
No problem.  If Jeremy shows up, hopefully he will look at it and see if it really is something that we can fix.