Hi, I am compiling Wine 1.1.37 on Ubuntu 11.10. But I am getting the following error "In file included from nt.c:59:0: ../../include/ddk/wdm.h:434:11: error: duplicate member ?u?". Can someone please tell me how to fix this issue.
On Mon, Feb 13, 2012 at 10:27, sainath <wineforum-user at winehq.org> wrote:> Hi, > > I am compiling Wine 1.1.37 on Ubuntu 11.10. But I am getting the following error > "In file included from nt.c:59:0: > ../../include/ddk/wdm.h:434:11: error: duplicate member ?u?". > > Can someone please tell me how to fix this issue.1.1.37 is very outdated. Try compiling a recent version (e.g. 1.4-rc3)
I'm on Fedora 16 but this should apply to other distros that use a fairly recent GCC version (4.6.x). 1. You need to apply this patch: http://source.winehq.org/git/wine.git/patch/5415b62fc2c65d736d4b723b326de8708ddf79b4 2. If you get Segmentation Fault when running such an old wine, you also need http://source.winehq.org/git/wine.git/patch/2bea45dd0a0ca74f53d1560e7498419962b9c34d This patch was needed on Fedora 15 with a former Glibc version, but seemingly is not needed on F16 with Glibc 2.14.90. See also http://www.winehq.org/pipermail/wine-patches/2010-July/091490.html