dlls/d3d8/device.c: `GL_DOT3_RGBA' undeclared

Gerald Pfeifer pfeifer at dbai.tuwien.ac.at
Mon Apr 21 02:27:15 CDT 2003

The following change to dlls/d3d8/device.c unfortunately broke building
an many systems:

  revision 1.39
  date: 2003/04/19 20:30:58;  author: julliard;  state: Exp;  lines: +7 -3
  Jason Edmeades <us at the-edmeades.demon.co.uk>
  Add DotProduct3 support if supported by opengl.

Here is the diagnostics I got:

  /usr/bin/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 device.o device.c
  device.c: In function `IDirect3DDevice8Impl_SetTextureStageState':
  device.c:3413: `GL_DOT3_RGBA' undeclared (first use in this function)
  device.c:3413: (Each undeclared identifier is reported only once
  device.c:3413: for each function it appears in.)
  gmake[2]: *** [device.o] Error 1
  gmake[2]: Leaving directory `/.amd_mnt/nashira/files5/test/wine/dlls/d3d8'
  gmake[1]: *** [d3d8] Error 2

Would you mind having a look?


The packages I've installed are the following; this is a FreeBSD system,
but the breakage appears "portable".

% pkg_info | grep -i XF
XFree86-4.2.0_1,1   X11/XFree86 core distribution (complete, using mini/meta-po
XFree86-FontServer-4.2.0 XFree86-4 Font Server
XFree86-Server-4.2.1_3 XFree86-4 X server and related programs
XFree86-VirtualFramebufferServer-4.2.1 XFree86-4 Virtual Framebuffer Server
XFree86-aoutlibs- XFree86 a.out compatibility libraries
XFree86-clients-4.2.1_1 XFree86-4 Client environments
XFree86-documents-4.2.0 XFree86-4 Document Files
XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.2.0_4 XFree86-4 Cyrillic Fonts
XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files
XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files
XFree86-libraries-4.2.1_1 XFree86-4 include/(shared) library kit
% pkg_info | grep -i mesa
Mesa-3.4.2_2        A graphics library similar to SGI's OpenGL

More information about the wine-devel mailing list