Greetings, I have much trouble compiling Wine 0.9.53 and I just don't know what to do. My system is Ubuntu Intrepid Ibex (32-bit) and I have build essential and build-dep wine installed. Also I've used install-wine-deps.sh from official Wine Wiki just to be sure that all needed dependencies are installed. First I've tried by downloading source code but whenever I try to compile it I get this error: Code: gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o signal_i386.o signal_i386.c signal_i386.c: In function merge_vm86_pending_flags: signal_i386.c:502: error: VIF_MASK undeclared (first use in this function) signal_i386.c:502: error: (Each undeclared identifier is reported only once signal_i386.c:502: error: for each function it appears in.) signal_i386.c:513: error: VIP_MASK undeclared (first use in this function) signal_i386.c: In function raise_vm86_sti_exception: signal_i386.c:1086: error: VIP_MASK undeclared (first use in this function) signal_i386.c: In function __wine_enter_vm86: signal_i386.c:1486: error: VIF_MASK undeclared (first use in this function) signal_i386.c:1487: error: VIP_MASK undeclared (first use in this function) make[2]: *** [signal_i386.o] Error 1 make[2]: Leaving directory `/home/myself/Desktop/wine-0.9.53/dlls/ntdll' make[1]: *** [ntdll] Error 2 make[1]: Leaving directory `/home/myself/Desktop/wine-0.9.53/dlls' make: *** [dlls] Error 2 I don't get this error when I'm compiling 1.x versions of Wine - I've tried with 1.01 and 1.1.23 just to be sure; But whenever I try to compile 0.9.x versions I'm stuck with this error (I've tried 0.9.52 and 0.9.54 also). Today I've tried to compile from git and same error appears - Can someone help me please? PC. sorry for my bad English
ackanao wrote:> signal_i386.c: In function ?merge_vm86_pending_flags?: > signal_i386.c:502: error: ?VIF_MASK? undeclared (first use in this function)Looks like you missing kernel headers.
> > The problem is compiling old code like that often breaks on newer > systems. You could use a reverse regression test to find the patch > that fixes it and compile the old code... > http://wiki.winehq.org/ReverseRegressionTesting > > -- > -AustinYou're right I've already tried "the easier way" by substituting those functions ("merge_vm86_pending_flags", "raise_vm86_sti_exception", "__wine_enter_vm86") with "good ones" from Wine 1.01 but without success; I've tried to change them manually but I'm no programmer so I failed again :( The reason I choose that path is because this is the first time I'm using Git and there are some things I still don't understand; Now I will try "the right way" - Thanks all of you for your help! (I guess I'll be back quickly - I suspect I'll get into trouble with Reverse Regression Testing)
Greetings good people and thank you for your help - I managed to compile Wine 0.9.53 successfully! I just added this two lines at the begining of signal_i386.c file: #define VIF_MASK 0x00080000 #define VIP_MASK 0x00100000 It takes long time to do Reverse Regression Testing maybe because I'm still not that familiar with Git (I'll do it anyway because I want to learn how to do it). But now I have another problem and I hope you'll help me with this: I set "/home/myself/winebuilds/wine-0.9.53" for install folder and use "checkinstall" to create deb package but after the installation Wine won't run no matter what I do ?! If I run winecfg or winever from /home/myself/winebuilds/wine-0.9.53/bin it says command not found and when I choose to install Wine from repos it overwrites my version of Wine. All I want is to have "stable" version of Wine installed in its default location and versions of Wine compiled by me installed in a different location - How can I achieve that and what am I doing wrong here? Thanks in advance...
Hi James Huk, That doesn't work - still get "command not found"; Maybe I made a mistake by choosing that destination folder - Maybe it's better idea to use: ./configure --prefix=/opt/wine or ./configure --prefix=/usr/local/wine as described in "Advanced Wine Installation" I'll try that later today - thanks anyway though...