Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-13-06, 04:01 AM   #1
Szift
HLFS
 
Szift's Avatar
 
Join Date: Dec 2006
Location: Krakow/Poland
Posts: 1
Exclamation NVIDIA-Linux-x86-1.0-9629/31-pkg1 glext.h header file error

Hi
Yesterday after compiling wine-0.9.27 I found that games using OpenGL failed to run. First I thought that it was something in the new version of wine, which could have triggered this behaviour, but after recompiling and reinstalling version 0.9.26, with which everything worked fine before, I stumbled upon the same error messages.
Looking closer at was I was doing, I found the errors spit out by wine configure script:

configure: WARNING: Wine will be build without OpenGL or Direct3D support
configure: WARNING: because something is wrong with the OpenGL setup:
configure: WARNING: No OpenGL development headers were found

I checked out config.log and found the reason for this behaviour:
Code:
configure:9292: checking for GL/gl.h
configure:9315: gcc -c -I/usr/X11R6/include conftest.c >&5
In file included from /usr/X11R6/include/GL/gl.h:1630,
                 from conftest.c:124:
/usr/X11R6/include/GL/glext.h:6952: error: redefinition of typedef 'PFNGLGETUNIFORMUIVEXTPROC'
/usr/X11R6/include/GL/glext.h:6941: error: previous declaration of 'PFNGLGETUNIFORMUIVEXTPROC' was here
Turns out there was an error in the glext.h header file. One of the types was defined twice. Looks like someone did a copy and paste while writing this code, but didn't remove all the duplicates after. Anyway commenting out either of 6941 and 6952 line of the code which both look like this:
Code:
typedef void (APIENTRY * PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
does the trick.
For Your convenience I placed the - ready to download and replace file - here:
http://wine.szift.org/glext.h
Just right click the link, choose "Save link destination as..."
and then copy the file to /usr/include/GL (or /usr/local/include/GL if You have one) - replacing the old file.

After a bit more research I found that this header file is in the NVIDIA-Linux-x86-1.0-9629-pkg1 and because I upgraded to it since my last wine compilation - this proved to be the bug maker

Now I've found that there's NVIDIA-Linux-x86-1.0-9631-pkg1 already available to install, and that the header file there also contains the duplicate entry.

My distribution is Linux From Sratch, and my compiler is gcc 3.4.3
Szift is offline   Reply With Quote
Old 12-13-06, 10:42 AM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: NVIDIA-Linux-x86-1.0-9629/31-pkg1 glext.h header file error

This is a known bug which was already discussed in a few other threads on this forum.
netllama is offline   Reply With Quote
Old 01-03-07, 04:11 PM   #3
csh
Registered User
 
Join Date: Jan 2004
Posts: 23
Send a message via AIM to csh Send a message via Yahoo to csh
Default Re: NVIDIA-Linux-x86-1.0-9629/31-pkg1 glext.h header file error

Quote:
Originally Posted by netllama
This is a known bug which was already discussed in a few other threads on this forum.
...and which persists in the *31 release.
csh is offline   Reply With Quote
Old 01-10-07, 05:32 AM   #4
Didencool
Registered User
 
Join Date: Jan 2007
Posts: 2
Default Re: NVIDIA-Linux-x86-1.0-9629/31-pkg1 glext.h header file error

Quote:
Originally Posted by netllama
This is a known bug which was already discussed in a few other threads on this forum.
where give link pls
Didencool is offline   Reply With Quote
Old 01-12-07, 01:47 AM   #5
csh
Registered User
 
Join Date: Jan 2004
Posts: 23
Send a message via AIM to csh Send a message via Yahoo to csh
Default Re: NVIDIA-Linux-x86-1.0-9629/31-pkg1 glext.h header file error

Quote:
Originally Posted by Didencool
where give link pls
Be read thread pls...
csh is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regression with 295.33 and GeForce GT 240 maro NVIDIA Linux 16 06-29-12 06:47 PM
RPM Source problems LaoTzuTao NVIDIA Linux 10 01-19-03 05:15 AM
Mandrake 9 and nVidia drivers HunterA3 NVIDIA Linux 9 10-09-02 02:54 AM
Mandrake 8.2 Nvidia src.rpm problems Mr_Malcontent NVIDIA Linux 8 09-11-02 09:53 PM
Error! Linux cannot find my nVidia integrated sound card! Please help! targatop NVIDIA Linux 1 09-08-02 04:55 PM

All times are GMT -5. The time now is 08:37 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.