compile errors in dlls/ddraw

Zsolt Rizsanyi rizsanyi at myrealbox.com
Sun May 11 04:43:54 CDT 2003


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

I can provide more info if needed...

Thanks
Zsolt




More information about the wine-devel mailing list