http://bugs.winehq.com/show_bug.cgi?id=1377
Summary: Undefined reference to HeapFree Product: Wine Version: unspecified Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-directx AssignedTo: wine-bugs@winehq.com ReportedBy: st_lim@stlim.net
gcc -shared -Wl,-Bsymbolic,-z,defs d3d8.spec.o basetexture.o cubetexture.o d3d8_main.o device.o directx.o indexbuffer.o resource.o shader.o stateblock.o surface.o swapchain.o texture.o vertexbuffer.o volume.o volumetexture.o vshaderdeclaration.o d3d8.dll.dbg.o -o d3d8.dll.so -L../../dlls -L../../libs/wine -lwine -L../../libs/uuid -lwine_uuid -L/usr/X11R6/lib -lSM -lICE -lXxf86dga -lXxf86vm -lXv -lXext -lX11 -lGL -lGLU -L../../libs/port -lwine_port -lm -lc basetexture.o(.text+0x28a): In function `IDirect3DBaseTexture8Impl_Release': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' cubetexture.o(.text+0x314): In function `IDirect3DCubeTexture8Impl_Release': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' d3d8_main.o(.text+0xf5): In function `Direct3DCreate8': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' d3d8_main.o(.text+0x1ba): In function `DllMain': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/d3d8_main.c:64: undefined reference to `GetModuleHandleA' d3d8_main.o(.text+0x1d5):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/d3d8_main.c:67: undefined reference to `GetProcAddress' d3d8_main.o(.text+0x1f2):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/d3d8_main.c:68: undefined reference to `GetProcAddress' device.o(.text+0x119d): In function `IDirect3DDevice8Impl_Release': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' device.o(.text+0x127c): In function `IDirect3DDevice8Impl_GetDisplayMode': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/device.c:1081: undefined reference to `GetSystemMetrics' device.o(.text+0x1290):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/device.c:1082: undefined reference to `GetSystemMetrics' device.o(.text+0x12c6):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/device.c:1085: undefined reference to `CreateDCA' device.o(.text+0x12db):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/device.c:1086: undefined reference to `GetDeviceCaps' device.o(.text+0x12e8):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/device.c:1087: undefined reference to `DeleteDC' device.o(.text+0x14d5): In function `IDirect3DDevice8Impl_CreateTexture': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' device.o(.text+0x1645): In function `IDirect3DDevice8Impl_CreateVolumeTexture': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' device.o(.text+0x172e):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' device.o(.text+0x17c6):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' device.o(.text+0x1828): In function `IDirect3DDevice8Impl_CreateCubeTexture': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' device.o(.text+0x19a5):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: more undefined references to `HeapAlloc' follow device.o(.text+0x4e3a): In function `IDirect3DDevice8Impl_DeleteVertexShader': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' device.o(.text+0x4e5b):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' device.o(.text+0x4e98):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' device.o(.text+0x4ebb):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' device.o(.text+0x4efa):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' device.o(.text+0x5298): In function `IDirect3DDevice8Impl_CreatePixelShader': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' device.o(.text+0x5394): In function `IDirect3DDevice8Impl_DeletePixelShader': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' directx.o(.text+0x23a): In function `IDirect3D8Impl_Release': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' directx.o(.text+0x559): In function `IDirect3D8Impl_GetAdapterModeCount': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:150: undefined reference to `GetSystemMetrics' directx.o(.text+0x56b):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:151: undefined reference to `GetSystemMetrics' directx.o(.text+0x698): In function `IDirect3D8Impl_EnumAdapterModes': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:194: undefined reference to `CreateDCA' directx.o(.text+0x6ad):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:195: undefined reference to `GetDeviceCaps' directx.o(.text+0x6ba):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:196: undefined reference to `DeleteDC' directx.o(.text+0x7d0):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:182: undefined reference to `GetSystemMetrics' directx.o(.text+0x7e4):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:183: undefined reference to `GetSystemMetrics' directx.o(.text+0x96e): In function `IDirect3D8Impl_GetAdapterDisplayMode': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:228: undefined reference to `GetSystemMetrics' directx.o(.text+0x982):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:229: undefined reference to `GetSystemMetrics' directx.o(.text+0x9b2):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:232: undefined reference to `CreateDCA' directx.o(.text+0x9c7):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:233: undefined reference to `GetDeviceCaps' directx.o(.text+0x9d4):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:234: undefined reference to `DeleteDC' directx.o(.text+0x10af): In function `IDirect3D8Impl_CreateDevice': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' directx.o(.text+0x11f6): In function `IDirect3D8Impl_CreateDevice': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:459: undefined reference to `GetPropA' directx.o(.text+0x120d):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:468: undefined reference to `GetDC' directx.o(.text+0x124e):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:56: undefined reference to `ExtEscape' directx.o(.text+0x12cf):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:480: undefined reference to `GetDesktopWindow' directx.o(.text+0x12e1):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:480: undefined reference to `GetPropA' directx.o(.text+0x13f1):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:496: undefined reference to `ReleaseDC' directx.o(.text+0x1491):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/directx.c:515: undefined reference to `GetClientRect' indexbuffer.o(.text+0x25d): In function `IDirect3DIndexBuffer8Impl_Release': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' indexbuffer.o(.text+0x27e):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' resource.o(.text+0x23a): In function `IDirect3DResource8Impl_Release': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' shader.o(.text+0xe0b): In function `IDirect3DDeviceImpl_CreateVertexShader': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' shader.o(.text+0xe48):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' shader.o(.text+0x1c9b): In function `IDirect3DVertexShaderImpl_ParseProgram': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' stateblock.o(.text+0x1296): In function `IDirect3DDeviceImpl_CreateStateBlock': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' stateblock.o(.text+0x1654): In function `IDirect3DDeviceImpl_DeleteStateBlock': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' stateblock.o(.text+0x174e): In function `IDirect3DDeviceImpl_BeginStateBlock': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' surface.o(.text+0x23d): In function `IDirect3DSurface8Impl_Release': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' surface.o(.text+0x25e):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' swapchain.o(.text+0x23a): In function `IDirect3DSwapChain8Impl_Release': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' texture.o(.text+0x2f4): In function `IDirect3DTexture8Impl_Release': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' vertexbuffer.o(.text+0x249): In function `IDirect3DVertexBuffer8Impl_Release': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapFree' vertexbuffer.o(.text+0x27b):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: more undefined references to `HeapFree' follow vshaderdeclaration.o(.text+0x6f): In function `IDirect3DDeviceImpl_CreateVertexShaderDeclaration8': /var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' vshaderdeclaration.o(.text+0x10c):/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8/../../include/winbase.h:1932: undefined reference to `HeapAlloc' collect2: ld returned 1 exit status make[2]: *** [d3d8.dll.so] Error 1 make[2]: Leaving directory `/var/tmp/portage/wine-20030408/work/wine-20030408/dlls/d3d8' make[1]: *** [d3d8] Error 2 make[1]: Leaving directory `/var/tmp/portage/wine-20030408/work/wine-20030408/dlls' make: *** [dlls] Error 2
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://bugs.winehq.com/show_bug.cgi?id=1377. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.