Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18164 - winex's GL is conflicting with xfree86 4.3's GL
Summary: winex's GL is conflicting with xfree86 4.3's GL
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-25 13:58 UTC by Graeme Humphries
Modified: 2003-10-01 10:05 UTC (History)
2 users (show)

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 Graeme Humphries 2003-03-25 13:58:36 UTC
When emerging winex, the compile dies with the following error:

In file included from d3dgl_private.h:5,
                 from caps.c:18:
../../include/wine_gl.h:74: redefinition of `PFNGLACTIVETEXTUREARBPROC'
/usr/X11R6/include/GL/glext.h:2743: `PFNGLACTIVETEXTUREARBPROC' previously
declared here
../../include/wine_gl.h:75: redefinition of
`PFNGLCLIENTACTIVETEXTUREARBPROC'/usr/X11R6/include/GL/glext.h:2744:
`PFNGLCLIENTACTIVETEXTUREARBPROC' previously declared here
../../include/wine_gl.h:76: redefinition of `PFNGLMULTITEXCOORD2FARBPROC'
/usr/X11R6/include/GL/glext.h:2755: `PFNGLMULTITEXCOORD2FARBPROC' previously
declared here
make[2]: *** [caps.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/winex-20021123/work/wine/dlls/d3dgl'
make[1]: *** [d3dgl/libd3dgl.so] Error 2
make[1]: Leaving directory `/var/tmp/portage/winex-20021123/work/wine/dlls'
make: *** [dlls] Error 2

Not familiar enough with the code to know *why* this is happening, but it seems
like winex is referencing XFree86's headers in it's D3D reimplementation code,
and getting confused.

Reproducible: Always
Steps to Reproduce:




Here's my emerge-info:

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Duron(tm) processor
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt encode gif jpeg libg++ libwww mikmod mmx mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib berkdb slang
readline arts svga java guile postgres X sdl gpm tcpd pam ssl perl python esd
imlib oggvorbis gnome gtk qt kde motif opengl cups aalib acpi alsa bonobo cdr
cjk dga directfb dvd evo gb gd -gdbm ggi gphoto2 gps gtk2 gtkhtml imap
innodb libgda mozilla mysql oav pda samba scanner sse tcltk tiff usb"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O2 -pipe"
CXXFLAGS="-march=athlon -O2 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Matt Taylor 2003-03-26 22:20:07 UTC
removing the offending lines of wine_gl.h allows the compile to finish and winex works, at least with Diablo 2 since thats all I tested with.
Comment 2 Graeme Humphries 2003-03-27 00:17:04 UTC
AFAIK Diablo 2 doesn't use 3D acceleration, does it? In which case it's not really a good test to see if removing those lines had a detremintal effect on 3D acceleration. Could you try some of the windows GL screensavers, or some other GL program, where it would be fairly easy to see if your hardware acceleration is still functioning?

Thanks,
Graeme
Comment 3 Matt Taylor 2003-03-30 19:27:02 UTC
Have to wait on this one.  I was replying for a friend and he has the can't open socket problem now so winex doesn't work.
Comment 4 phoen][x 2003-04-06 06:02:06 UTC
Could you try a newer version of winex/winex-cvs and see if that fixes the problem for you, please?

-phoen][x-
Comment 5 Graeme Humphries 2003-04-06 15:59:02 UTC
Well, it produces that error with the newest version of "winex" that is available on my system (20021123), and winex-cvs 3.0_pre1 is masked (by you, apparently! ;) ). Unfortunately, I don't know how to install masked packages ("ACCEPT_KEYWORDS="~x86" emerge winex-cvs" doesn't seem to work in this case), so if you could give me a hint as to how to get it installed, I'd certainly attempt to do so and report the results.

Graeme
Comment 6 Graeme Humphries 2003-04-07 15:08:32 UTC
Figured out the unmask, the newest winex-cvs doesn't have this problem.. mind you, it has a whole bunch of visual bugs that don't occur in the normal "wine" package, but it compiles. :)

Graeme
Comment 7 phoen][x 2003-04-12 14:42:46 UTC
Can i close this bug or does the problem still persist?

-phoen][x-
Comment 8 Bret Towe 2003-04-12 22:10:44 UTC
winex-cvs doesnt have this problem when i merged it a few days ago
Comment 9 phoen][x 2003-04-13 03:13:43 UTC
Need more info..

-phoen][x-
Comment 10 Graeme Humphries 2003-04-13 20:54:23 UTC
Sorry, I was away for the weekend. Anyway, yeah, winex-cvs doesn't have this problem, however the winex (non-cvs) package still does AFAIK, and winex-cvs is masked.

So... you can either use buggy winex-cvs, or the basic wine, but winex is still a no go.
Comment 11 SpanKY gentoo-dev 2003-10-01 10:05:50 UTC
winex is no longer in portage