http://bugs.winehq.org/show_bug.cgi?id=4691
Summary: compile error: at wined3d_main Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: wine-directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: multescugeorge@yahoo.com
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o wined3d_main.o wined3d_main.c ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./wined3d.spec basetexture.o cubetexture.o device.o directx.o drawprim.o indexbuffer.o pixelshader.o query.o resource.o stateblock.o surface.o swapchain.o texture.o utils.o vertexbuffer.o vertexdeclaration.o vertexshader.o volume.o volumetexture.o wined3d_main.o -o wined3d.dll.so -L../../dlls -L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/advapi32 -L../../dlls/kernel32 -luser32 -lgdi32 -ladvapi32 -lkernel32 -L../../libs/wine -lwine -luuid -L/usr/X11R6/lib -lSM -lICE -lXxf86dga -lXxf86vm -lXext -lX11 -lGL -lGLU -L../../libs/port -lwine_port device.o(.text+0x409e): In function `IWineD3DDeviceImpl_SetRenderState': /usr/src/wine/dlls/wined3d/device.c:3770: undefined reference to `glStencilOpSeparate' device.o(.text+0x571c):/usr/src/wine/dlls/wined3d/device.c:3799: undefined reference to `glStencilFuncSeparate' collect2: ld returned 1 exit status winegcc: gcc failed. make[2]: *** [wined3d.dll.so] Error 2 make[2]: Leaving directory `/usr/src/wine/dlls/wined3d' make[1]: *** [wined3d] Error 2 make[1]: Leaving directory `/usr/src/wine/dlls' make: *** [dlls] Error 2
I don't think i'm missing headers, since the compile for earlyer wine versions (like CVS from 27.02.2006) runs smoothly. This error appeared these last few days in CVS. This is the error from CVS 02.03.2006 I'm using Fedora Core 4 with updates, gcc version is: gcc (GCC) 4.0.2 20051125 (Red Hat 4.0.2-8) (i made all the proper compile steps: ./configure; make depend && make and the CVS update was done with: cvs update -PAd)