compile errors in dlls/ddraw

Duane Clark dclark at akamail.com
Sun May 11 11:25:47 CDT 2003


Zsolt Rizsanyi wrote:
> Hi!
> 
> I'm getting the next compile errors trying to compile the latest CVS:
> 
> make[2]: Entering directory `/home/zsolt/src/wine/dlls/ddraw'
> LD_LIBRARY_PATH="../../libs/unicode:$LD_LIBRARY_PATH" ../../tools/wrc/wrc --nostdinc -I. -I. -I../../include -I../../include -I/usr/X11R6/include  -foversion.res version.rc
> gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__  -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o d3dcommon.o d3dcommon.c
> gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__  -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o d3ddevice/main.o d3ddevice/main.c
> gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D_REENTRANT -fPIC -D__WINESRC__  -Wall -mpreferred-stack-boundary=2 -gstabs+ -Wpointer-arith -g -O2 -o d3ddevice/mesa.o d3ddevice/mesa.c
> d3ddevice/mesa.c: In function `handle_color_alpha_args':
> d3ddevice/mesa.c:1519: `GL_PRIMARY_COLOR_ARB' undeclared (first use in this function)
> d3ddevice/mesa.c:1519: (Each undeclared identifier is reported only once
> d3ddevice/mesa.c:1519: for each function it appears in.)
> d3ddevice/mesa.c:1521: `GL_CONSTANT_ARB' undeclared (first use in this function)
> d3ddevice/mesa.c:1526: `GL_SOURCE0_RGB_ARB' undeclared (first use in this function)
> d3ddevice/mesa.c:1528: `GL_OPERAND0_RGB_ARB' undeclared (first use in this function)
> d3ddevice/mesa.c:1533: `GL_SOURCE0_ALPHA_ARB' undeclared (first use in this function)
> d3ddevice/mesa.c:1534: `GL_OPERAND0_ALPHA_ARB' undeclared (first use in this function)
> d3ddevice/mesa.c:1480: warning: `src' might be used uninitialized in this function
> d3ddevice/mesa.c: In function `GL_IDirect3DDeviceImpl_7_3T_SetTextureStageState':
> d3ddevice/mesa.c:1655: `GL_COMBINE_ALPHA_ARB' undeclared (first use in this function)
> d3ddevice/mesa.c:1655: `GL_COMBINE_RGB_ARB' undeclared (first use in this function)
> d3ddevice/mesa.c:1702: `GL_COMBINE_ARB' undeclared (first use in this function)
> d3ddevice/mesa.c:1733: `GL_ADD_SIGNED_ARB' undeclared (first use in this function)
> d3ddevice/mesa.c:1766: `GL_RGB_SCALE_ARB' undeclared (first use in this function)
> make[2]: *** [d3ddevice/mesa.o] Error 1
> make[2]: Leaving directory `/home/zsolt/src/wine/dlls/ddraw'
> make[1]: *** [ddraw] Error 2
> make[1]: Leaving directory `/home/zsolt/src/wine/dlls'
> make: *** [dlls] Error 2
> 
> 
> I'm running RedHat 7.3 with the version of the relevant RPM package being:
> XFree86-devel-4.2.0-8
> 

Since the offending packages are the last two that were checked into 
CVS, a quick workaround is to do:

cvs update -D "2003-05-10 22:44:30 CDT"

That will uninstall just those last two commits. Hopefully a fix will 
make it into the next round of CVS commits.





More information about the wine-devel mailing list