Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15811 - winex fails to compile under gcc3.2.2 + mesa
Summary: winex fails to compile under gcc3.2.2 + mesa
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: phoen][x
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-16 18:20 UTC by Fredrik Jagenheim
Modified: 2003-03-06 05:45 UTC (History)
1 user (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 Fredrik Jagenheim 2003-02-16 18:20:10 UTC
[ebuild  N   ] app-emulation/winex-20021123  +cups +opengl 

fails on:
gcc -c -I. -I. -I../../include -I../../include  -g -O2 -Wall
-mpreferred-stack-boundary=2 -fPIC -D__WINE__  -DNO_DEBUG_MSGS -DNO_TRACE_MSGS
-D_REENTRANT -I/usr/X11R6/include -o caps.o caps.c
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


I got mesa 3.5 installed. and gcc 3.2.2


Reproducible: Always
Steps to Reproduce:
1. emerge mesa
2. emerge winex
3.

Actual Results:  
winex didn't emerge

Expected Results:  
winex should emerge. :)
Comment 1 SpanKY gentoo-dev 2003-02-16 20:08:26 UTC
what version of XFree ?
Comment 2 Fredrik Jagenheim 2003-02-17 14:23:19 UTC
Sorry I missed the xfree-version:

x11-base/xfree
Latest version installed: 4.2.99.4
Comment 3 Bret Towe 2003-02-20 02:09:35 UTC
the problem is due to winex defining some gl functions it shouldnt
or at least it should have a ifndef in there 
i noticed this on dri-cvs some time ago 
the way i fixed it was delete the offending defines
proper way would be to have ifndef and send a patch back to winex ppl
Comment 4 Fredrik Jagenheim 2003-03-06 05:20:02 UTC
I decided to fix this today, but the emerge runned just fine.

Feel free to close this bug.
Comment 5 phoen][x 2003-03-06 05:45:06 UTC
As you wish. Feel free to REOP the bug anytime.

-phoen][x-