Compiling WineTest.exe on Debian 9
Jacek Caban
jacek at codeweavers.com
Tue Oct 9 05:35:47 CDT 2018
Hi Francois,
On 10/09/2018 12:33 PM, Francois Gouget wrote:
> Since the custom dialog control data user32 test was added [1] it's no
> longer possible to compile WineTest.exe on Debian 9: one gets the
> following compilation error.
>
> ../../.././../wine-native/tools/winegcc/winegcc -o user32_test.exe -B../../.././../wine-native/tools/winebuild \
> --sysroot=../../.. -b i686-w64-mingw32 -fasynchronous-unwind-tables broadcast.o class.o \
> clipboard.o combo.o cursoricon.o dce.o dde.o dialog.o edit.o generated.o input.o listbox.o menu.o \
> monitor.o msg.o resource.o scroll.o static.o sysparams.o text.o uitools.o win.o winstation.o \
> wsprintf.o resource.res testlist.o ../../../dlls/user32/libuser32.a ../../../dlls/gdi32/libgdi32.a \
> ../../../dlls/advapi32/libadvapi32.a
> /usr/bin/i686-w64-mingw32-windres: dialog control data: not enough binary data
>
>
> The reason is that the binutils-mingw-w64-{i686,x86-64} packages on
> Debian 9 are too old; it only has binutils 2.28-5+7.4+b4.
>
> Unfortunately no recent version of binutils was backported and the
> version available in Debian Testing has seen major packaging changes
> that make it impossible to backport.
>
> The solution is to apply Dmitry's binutils patch [2] to the 2.28 package
> and rebuild it on Debian 9. This is what I did for the TestBot. I then
> created a Debian bug report [3] but since this is Debian Stable there is
> little hope it will be fixed. So I also uploaded the resulting packages
> to my website for anyone who needs them.
Could we use wrc instead of windres?
Jacek
More information about the wine-devel
mailing list