You are not logged in.

#1 2005-06-12 11:27:11

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

GL/glx.h error

I wrote a PKGBUILD for a specific version of Wine + a DirectX9 patch which is supposed to work quite well, however I got an error when compiling, I don't recall exactly but something to do with GL/glx.h. So I thought maybe it was a problem with the patch so I tried cvscedega, exact same error. Thought it might just be a problem with the cvs branch, days later, same error but this time I noticed this come up during configure.

checking for GL/gl.h... yes
checking GL/glx.h usability... no
checking GL/glx.h presence... yes
configure: WARNING: GL/glx.h: present but cannot be compiled
configure: WARNING: GL/glx.h:     check for missing prerequisite headers?
configure: WARNING: GL/glx.h: see the Autoconf documentation
configure: WARNING: GL/glx.h:     section "Present But Cannot Be Compiled"
configure: WARNING: GL/glx.h: proceeding with the preprocessor's result
configure: WARNING: GL/glx.h: in the future, the compiler will take precedence
configure: WARNING:     ## --------------------------------- ##
configure: WARNING:     ## Report this to the Cedega lists.  ##
configure: WARNING:     ## --------------------------------- ##
checking for GL/glx.h... yes

Anyone know what this means or how I can get around it? I Googled and found references but no answer. I tried installing Mesa on a whim but that didn't help, I'm using the nvidia package for video drivers.

Thanks smile

Offline

#2 2005-06-13 19:38:10

Meshuggin
Member
From: /home/meshuggin
Registered: 2005-03-23
Posts: 137

Re: GL/glx.h error

But I don't see any errors at all, those are just warnings


Arch GNU/Linux 0.7.1 (Noodle)
Linux 2.6.14-archck1

Offline

#3 2005-06-13 19:47:35

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: GL/glx.h error

Also, it says to check the autoconf documentation... what does that say about it?

Offline

#4 2005-06-13 23:58:09

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: GL/glx.h error

Meshuggin wrote:

But I don't see any errors at all, those are just warnings

Yeah, at this stage they're warning but it sounds to me like the compile errors are resulting from these warning as all the problems stem from the one file.

And I've searched the autoconf docs and couldn't find any mention of that heading anywhere. That phrase in Google didn't return much either. For interests sake, here's the compile error, thanks for the suggestions so far smile

In file included from /usr/X11R6/include/GL/glx.h:336,
                 from d3d8_private.h:34,
                 from basetexture.c:31:
/usr/X11R6/include/GL/glxext.h:267: error: redefinition of typedef 'GLXFBConfigSGIX'
/usr/X11R6/include/GL/glx.h:156: error: previous declaration of 'GLXFBConfigSGIX' was here
make[2]: *** [basetexture.o] Error 1

Offline

#5 2005-06-14 00:18:28

ghostwalker
Member
From: Tacoma, WA
Registered: 2004-07-28
Posts: 140

Re: GL/glx.h error

If you are using the nvidia driver I believe that the x.org header files are replace with header files provided from nvidia.


P4 2.8Ghz @ 2.8Ghz SL6WT
Zalman CNPS7000-Cu
865PE Neo-2 LS BIOs 2.4
512mb Mushkin Level II
160GB Maxtor HD
Geforce 4 440MX
Antec 3700 1 exhaust and 1 intake fans
Linux 2.6.x
Linux user 314187
ArchLinux

Offline

#6 2005-06-14 01:59:14

ghostwalker
Member
From: Tacoma, WA
Registered: 2004-07-28
Posts: 140

Re: GL/glx.h error

Simple fix is to comment 'GLXFBConfigSGIX' typedef declaration out in /usr/X11/include/GL/glx.h


P4 2.8Ghz @ 2.8Ghz SL6WT
Zalman CNPS7000-Cu
865PE Neo-2 LS BIOs 2.4
512mb Mushkin Level II
160GB Maxtor HD
Geforce 4 440MX
Antec 3700 1 exhaust and 1 intake fans
Linux 2.6.x
Linux user 314187
ArchLinux

Offline

#7 2005-06-14 05:44:49

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: GL/glx.h error

it smells after nvidia drivers, are you not using the latest from extra?
i fixed this in last release. try to reinstall xorg after nvidia upgrade

Offline

#8 2005-06-14 22:09:24

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: GL/glx.h error

tpowa wrote:

it smells after nvidia drivers, are you not using the latest from extra?
i fixed this in last release. try to reinstall xorg after nvidia upgrade

I had upgraded but didn't try to recompile after installed the update. Works fine now thanks smile Now I've just gotta try and get the Wine performance good enough to run HL2 properly  roll

Offline

Board footer

Powered by FluxBB