Compiling wine 1.1.37 fails on Ubuntu 11.10

Questions about Wine on Linux
Locked
sainath
Level 2
Level 2
Posts: 18
Joined: Tue Sep 30, 2008 1:16 am

Compiling wine 1.1.37 fails on Ubuntu 11.10

Post by sainath »

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.
Frédéric Delanoy

Compiling wine 1.1.37 fails on Ubuntu 11.10

Post by Frédéric Delanoy »

On Mon, Feb 13, 2012 at 10:27, sainath <[email protected]> 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)
mogorva
Level 4
Level 4
Posts: 107
Joined: Fri Oct 16, 2009 10:27 am

Post by mogorva »

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/p ... 708ddf79b4

2. If you get Segmentation Fault when running such an old wine, you also need
http://source.winehq.org/git/wine.git/p ... 9962b9c34d

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-pa ... 91490.html
Locked