Re: Help compiling an older version of wine on 64 bit Fedora 14

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, it's got on a bit now, so I don't know if I should start a new thread. Anyway, I applied the patch but still seems to be running into problems.

This is what I've done:
After downloading version 1.1.0 from sourceforge I saved the following as "winepatch.diff":


Code:
---
 loader/preloader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/loader/preloader.c b/loader/preloader.c
index 83a5172..2dc2872 100644
--- a/loader/preloader.c
+++ b/loader/preloader.c
@@ -519,7 +519,7 @@ static void set_auxiliary_values( ElfW(auxv_t) *av, const ElfW(auxv_t) *new_av,
     }
     else if (new_count < delete_count)  /* get rid of unused values */
     {
-        int len = (char *)(av + av_count + 1) - dst;
+        int len = (char *)(av + av_count + 1) - src;
         for (i = len - 1; i >= 0; i--) dst[i] = src[i];
     }
     *stack = dst;
---




in wine source directory I typed:


Code:
$ patch -p1 < winepatch.diff




and this seemed to patch the code okay.

I built wine in the usual way:


Code:
./configure --prefix "/home/mythtv/.oldwine" && make depend && make &&  make install 



however this generated the following error during build.

Code:

gcc -m32 -c -I. -I. -I../../include -I../../include -I/usr/include/freetype2  -D__WINESRC__ -D_GDI32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o freetype.o freetype.c
freetype.c:166:14: error: ?FT_MulFix? undeclared here (not in a function)
freetype.c:166:1: warning: type defaults to ?int? in declaration of ?pFT_MulFix?
freetype.c: In function ?WineEngGetOutlineTextMetrics?:
freetype.c:5113:27: error: called object ?pFT_MulFix? is not a function
freetype.c:5114:28: error: called object ?pFT_MulFix? is not a function
freetype.c:5115:36: error: called object ?pFT_MulFix? is not a function
freetype.c:5124:28: error: called object ?pFT_MulFix? is not a function
freetype.c:5124:28: error: called object ?pFT_MulFix? is not a function
freetype.c:5128:36: error: called object ?pFT_MulFix? is not a function
freetype.c:5132:36: error: called object ?pFT_MulFix? is not a function
freetype.c:5212:40: error: called object ?pFT_MulFix? is not a function
freetype.c:5213:41: error: called object ?pFT_MulFix? is not a function
freetype.c:5214:41: error: called object ?pFT_MulFix? is not a function
freetype.c:5215:46: error: called object ?pFT_MulFix? is not a function
freetype.c:5216:42: error: called object ?pFT_MulFix? is not a function
freetype.c:5217:48: error: called object ?pFT_MulFix? is not a function
freetype.c:5218:49: error: called object ?pFT_MulFix? is not a function
freetype.c:5219:47: error: called object ?pFT_MulFix? is not a function
freetype.c:5220:50: error: called object ?pFT_MulFix? is not a function
freetype.c:5225:51: error: called object ?pFT_MulFix? is not a function
freetype.c:5226:51: error: called object ?pFT_MulFix? is not a function
freetype.c:5227:53: error: called object ?pFT_MulFix? is not a function
freetype.c:5228:53: error: called object ?pFT_MulFix? is not a function
freetype.c:5229:53: error: called object ?pFT_MulFix? is not a function
freetype.c:5230:53: error: called object ?pFT_MulFix? is not a function
freetype.c:5231:55: error: called object ?pFT_MulFix? is not a function
freetype.c:5232:55: error: called object ?pFT_MulFix? is not a function
freetype.c:5233:48: error: called object ?pFT_MulFix? is not a function
freetype.c:5234:52: error: called object ?pFT_MulFix? is not a function
freetype.c:5239:53: error: called object ?pFT_MulFix? is not a function
freetype.c:5240:50: error: called object ?pFT_MulFix? is not a function
make[2]: *** [freetype.o] Error 1
make[2]: Leaving directory `/home/mythtv/wine-1.1.0/dlls/gdi32'
make[1]: *** [gdi32] Error 2
make[1]: Leaving directory `/home/mythtv/wine-1.1.0/dlls'
make: *** [dlls] Error 2



I tried to reinstall the relevant freetype directories, but this had no effect.

Code:

$sudo yum reinstall freetype.i686 freetype-devel.i686 freetype-devel



I've sat on the problem for awhile I know, but I'm now once again in a position where I need an older version of wine!







[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux