I'm doing regression testing of Hogia software and have following compilation problem near wine-0.9.12:
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./ddraw.spec d3d_utils.o device_main.o device_opengl.o direct3d_main.o direct3d_opengl.o executebuffer.o light.o material.o opengl_utils.o texture.o vertexbuffer.o viewport.o clipper.o ddraw_hal.o ddraw_main.o ddraw_thunks.o ddraw_user.o ddraw_utils.o main.o palette_hal.o palette_main.o regsvr.o surface_dib.o surface_fakezbuffer.o surface_gamma.o surface_hal.o surface_main.o surface_thunks.o surface_user.o surface_wndproc.o version.res -Wl,--rpath, $ORIGIN/`../../tools/relpath /usr/local/lib/wine /usr/local/lib` -o ddraw.dll.so -L../../dlls -lole32 -luser32 -lgdi32 -ladvapi32 -lkernel32 -lntdll -L../../libs -lwine -ldxguid -luuid -lSM -lICE -lXxf86vm -lXext -lX11 -L../../libs/port -lwine_port surface_dib.o: In function `create_dib': /var/pkgs/wine/wine-git.experimental/dlls/ddraw/surface_dib.c:159: undefined reference to `DIB_CreateDIBSection' collect2: ld returned 1 exit status winegcc: gcc failed. make[2]: *** [ddraw.dll.so] Error 2 make[2]: Leaving directory `/var/pkgs/wine/wine-git.experimental/dlls/ddraw' make[1]: *** [ddraw] Error 2 make[1]: Leaving directory `/var/pkgs/wine/wine-git.experimental/dlls' make: *** [dlls] Error 2
Any idea how to resolve this? I tried to compile with 3.4.6 and 4.1.2 - same result.