[Wine] Unable to compile Wine 1.1.16

Ranguvar ranguvar at archlinux.us
Sat Mar 26 20:49:36 CDT 2011


On Sat, Mar 26, 2011 at 11:42, Berillions <wineforum-user at winehq.org> wrote:
> Hi,
>
> I must to compile Wine 1.1.16 to try a patch (it doesn't work with the latest Wine) and during the compilation, i have an error with gdi32.
>
>
>> make[2]: Leaving directory `/home/wine-1.1.16/dlls/gdi32/tests'
>> make[2]: Entering directory `/home/wine-1.1.16/dlls/gdi32/tests'
>> gcc -m32 -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o bitmap.o bitmap.c
>> gcc -m32 -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o brush.o brush.c
>> gcc -m32 -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o clipping.o clipping.c
>> gcc -m32 -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o dc.o dc.c
>> gcc -m32 -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o font.o font.c
>> gcc -m32 -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o gdiobj.o gdiobj.c
>> gcc -m32 -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o generated.o generated.c
>> make[2]: Leaving directory `/home/wine-1.1.16/dlls/gdi32/tests'
>> make[1]: Leaving directory `/home/wine-1.1.16/dlls'
>
>
> This is the error message (It's very long) that i have in a log file :
>
> Code:
> [...]
> generated.c: In function 'test_pack_ENHMETARECORD':
> generated.c:2798:5: error: object with variably modified type must have no linkage
> generated.c:2801:5: error: object with variably modified type must have no linkage
> generated.c:2804:5: error: object with variably modified type must have no linkage
> generated.c: In function 'test_pack_ENUMLOGFONTA':
> generated.c:2821:5: error: object with variably modified type must have no linkage
> generated.c:2824:5: error: object with variably modified type must have no linkage
> generated.c:2827:5: error: object with variably modified type must have no linkage
> [...]
>
>
>
> I don't understand where come from the problem...

If you absolutely must use such an old version of Wine, try to find
build tools from that time as well (gcc, binutils, make, autoconf).
That's what I'd try.



More information about the wine-users mailing list