Your message dated Sat, 08 May 2010 11:39:47 -0700
with message-id <[email protected]>
and subject line Re: Bug#280483: nvidia-glx-dev: undefined reference to 
`glXCreateGLXPixmapMESA'
has caused the Debian Bug report #280483,
regarding nvidia-glx-dev: undefined reference to `glXCreateGLXPixmapMESA'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
280483: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=280483
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---

Package: nvidia-glx-dev
Version: 1.0.6111-1
Severity: important

Compilation of GLU/GL program fails with undefined reference to
`glXCreateGLXPixmapMESA'.

After...

apt-get remove nvidia-glx-dev
apt-get install --reinstall xlibmesa-gl-dev
apt-get install --reinstall nvidia-glx

... the program compiles without problems.



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages nvidia-glx-dev depends on:
ii  nvidia-glx                1.0.6111-1     NVIDIA binary XFree86 4.x driver
ii  xlibmesa-gl-dev [libgl-de 4.3.0.dfsg.1-8 Mesa 3D graphics library developme
ii  xlibmesa-glu-dev [libglu- 4.3.0.dfsg.1-8 Mesa OpenGL utility library develo

-- no debconf information


--- End Message ---
--- Begin Message ---
Sorry about the very long response to your problem.

Martin Lutz <[email protected]> writes:

> Compilation of GLU/GL program fails with undefined reference to
> `glXCreateGLXPixmapMESA'.

> After...

> apt-get remove nvidia-glx-dev
> apt-get install --reinstall xlibmesa-gl-dev
> apt-get install --reinstall nvidia-glx

> ... the program compiles without problems.

Yup, the NVIDIA libGL doesn't provide that symbol.  It appears to be a
MESA extension, so you'll need the MESA libraries installed to use it.
The solution that you used above is the correct solution to the problem.

If you're building an application that needs to work with the NVIDIA GL
library, you'll need to avoid using that function and stick with the
simpler glXCreateGLXPixmap function.  I'm not sure why the NVIDIA GLX
headers prototype the *MESA version and claim to support it.

There unfortunately isn't any way for us to fix this in some other way,
since the GL library provided by NVIDIA is non-free and without source and
the license prohibits us from changing it in any way.  The best thing to
do is to avoid using it where possible.

I'm going ahead and closing this bug accordingly.

-- 
Russ Allbery ([email protected])               <http://www.eyrie.org/~eagle/>


--- End Message ---

Reply via email to