On Sat, 2005-04-30 at 16:24 -0400, Vincent Béron wrote:
Le sam 30/04/2005 à 16:21, Ivan Gyurdiev a écrit :
On Sat, 2005-04-30 at 13:25 -0400, Vincent Béron wrote:
Hi Jesse,
The failures you see are only whitespace changes. Either make patch skip whitespace changes, or apply the following patch to Olivier's patch prior to apply it to your tree.
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith -g -O2 -o directx.o directx.c directx.c:36: error: static declaration of ‘DeviceMemory’ follows non-static declaration directx.c:35: error: previous declaration of ‘DeviceMemory’ was here
Olivier's patch is the one adding both the extern and static declarations of DeviceMemory. He's the one to who ask questions.
Vincent
Okay - Oliver, seems the extern shouldn't be there (?)
Additionally, Half Life 2 crashed on start, with the following output. It got to the startup screen the second time though. I will experiment to see what works. I can help test this game...
ALSA lib control.c:739:(snd_ctl_open_noupdate) Invalid CTL plug:hw:0 err:mmio:MMIO_ParseExtA No . in szFileName: "" err:mmio:MMIO_ParseExtA No . in szFileName: "C:\Program Files\Valve\ \Steam\" fixme:sync:CreateIoCompletionPort (0xffffffff, (nil), 00000000, 00000000): stub. fixme:ole:CoCreateInstance no classfactory created for CLSID {4955dd33-b159-11d0 -8fcf-00aa006bcc59}, hres is 0x80040154 fixme:wine_d3d:WineDirect3DCreate Createing global statistics store fixme:vxd:VXD_Open Unknown/unsupported VxD L"gdperf.vxd". Try setting Windows ve rsion to 'nt40' or 'win31'. ALSA lib control.c:739:(snd_ctl_open_noupdate) Invalid CTL plug:hw:0 fixme:wine_d3d:WineDirect3DCreate Createing global statistics store fixme:d3d:IWineD3DDeviceImpl_GetAvailableTextureMem (0x77e5d5e8) : stub, emulati ng 256Mib for now, returning 256Mib fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8) multisample antialias not yet supported fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(162,-1) not handled yet fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(163,0) not handled yet fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(164,1065353216) not handled yet fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8) Debug streams not yet supported fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(172,3) not handled yet fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(173,1) not handled yet fixme:d3d9:IDirect3DDevice9Impl_CreateSurface (0x77e54f18) call to IWineD3DDevic e_CreateSurface failed fixme:d3d9:D3D9CB_CreateSurface (0x77e54f18) IDirect3DDevice9_CreateSurface fail ed fixme:d3d:IWineD3DDeviceImpl_CreateTexture Failed to create surface 0x7d20a780 fixme:d3d9:IDirect3DDevice9Impl_CreateTexture (0x77e54f18) call to IWineD3DDevic e_CreateTexture failed fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(162,-1) not handled yet fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(163,0) not handled yet fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(172,3) not handled yet fixme:d3d:IWIneD3DDeviceImpl_ApplyRenderState (0x77e5d5e8)->(173,1) not handled yet fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 10 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 2 type 10 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 3 type 10 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 1 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 2 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 6 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 5 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 7 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 2 type 1 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 2 type 2 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 2 type 6 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 2 type 5 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 2 type 7 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 3 type 1 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 3 type 2 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 3 type 6 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 3 type 5 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 3 type 7 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 11 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 2 type 11 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 3 type 11 fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range 0 13 sampler 1 type 11 fixme:d3d:IWineD3DQueryImpl_Issue (0x7d64fe58) : stub fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0000: stub! fixme:font:WineEngAddFontResourceEx Ignoring flags 10 fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x77e5d5e8) : stub fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:mmtime:timeBeginPeriod Stub; we set our timer resolution at minimum fixme:font:WineEngAddFontResourceEx Ignoring flags 10 fixme:font:WineEngAddFontResourceEx Ignoring flags 10 fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d_surface:IWineD3DSurfaceImpl_LockRect Attempting to lock a DXT surface on a non x4 boundry fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x77e5d5e8) : stub fixme:vxd:VXD_Open Unknown/unsupported VxD L"gdperf.vxd". Try setting Windows ve rsion to 'nt40' or 'win31'. fixme:sync:CreateIoCompletionPort (0xffffffff, (nil), 00000000, 00000000): stub. completionportmanager.cpp (28) : Assertion Failed: m_hIOCP fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x77e5d5e8) : stub fixme:d3d:IWineD3DResourceImpl_SetPriority (0x7aee73b8) : Unexpected, implement SetPriority in the decendant fixme:d3d:IWineD3DDeviceImpl_EvictManagedResources (0x77e5d5e8) : stub