Hi, i just upgraded to fedora core 5 (from fedora 3) In my old system i had about 20 wine-versions (back to april 2004) installed which was great for tracking down regressions. Trying to compile older wineversions now on my new installation fails with various errors (like wine-20050419 fails with error: union <anonymous> has no member named a_ptr) Even wine-0.9 (first beta release) won't compile anymore.
I guess that's due to newer gcc/glibc versions. Is there a (easy) way to get older wine-versions compiling again?
Send instant messages to your online friends http://uk.messenger.yahoo.com
On Monday, May 22, 2006 04:27, Louis. Lenders wrote:
Hi, i just upgraded to fedora core 5 (from fedora 3) In my old system i had about 20 wine-versions (back to april 2004) installed which was great for tracking down regressions. Trying to compile older wineversions now on my new installation fails with various errors (like wine-20050419 fails with error: union <anonymous> has no member named a_ptr) Even wine-0.9 (first beta release) won't compile anymore.
I guess that's due to newer gcc/glibc versions. Is there a (easy) way to get older wine-versions compiling again?
Send instant messages to your online friends http://uk.messenger.yahoo.com
There was an issue with flex a few months ago, where Wine wouldn't compile with the newer version of flex. Wine was modified so that it would compile again, but older versions wouldn't compile anymore with the newer version of flex. Try using flex-2.5.4a to compile the older versions of Wine.
(At least I'm pretty sure it was flex, it might have been bison though, try bison-1.875d if you have no luck with older flex.)
- Neil
Louis. Lenders schrieb:
Hi, i just upgraded to fedora core 5 (from fedora 3) In my old system i had about 20 wine-versions (back to april 2004) installed which was great for tracking down regressions. Trying to compile older wineversions now on my new installation fails with various errors (like wine-20050419 fails with error: union <anonymous> has no member named a_ptr) Even wine-0.9 (first beta release) won't compile anymore.
I guess that's due to newer gcc/glibc versions. Is there a (easy) way to get older wine-versions compiling again?
identify and porting the necessary changes back is probably the easiest way, atleast easier than installing another glibc ;)
Assuming you are using git:
# create a new branch 'v0.9' starting at version 0.9 git checkout -b v0.9 wine-0.9
# fix for the flex issue(needed for wine < 0.9.10) git cherry-pick -r 69dcbaaf93a65820a28fe2485b6d15a90f423899
# fix for undefined CLK_TCK (needed for wine < 0.9.1) git cherry-pick -r 5c256c518faf2344266cabecad9fdbfd9d0095ad
Thats all you need atleast back until 0.9. I never tried anything older.
As for the error you mentioned: $ git log wine-20050419..upstream | grep -B4 a_ptr commit 2b6e7dad58833b0e4bf3a05c8ae2de3542728c2e Author: Marcus Meissner marcus@jet.franken.de Date: Thu Jun 2 10:30:08 2005 +0000
Elf32_auxv_t.a_un.a_ptr no longer exists in HEAD glibc CVS, use
so I guess you want that commit too for wine-20050419.