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...
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.
On 3/26/11 8:42 AM, Berillions 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. > >Which patch and where is it located at? Even if you get the patch to work, this version of Wine is unsupported and 'you are on your own' at that point. Current versions of Wine may not even need this patch. James McKenzie
I want to compile Wine 1.1.16 for this patch : http://bugs.winehq.org/show_bug.cgi?id=17195
Berillions wrote:> I want to compile Wine 1.1.16 for this patchUse reverse regression testing to identify patch(es) you need to compile such an old Wine. See details here: http://wiki.winehq.org/ReverseRegressionTesting Above page also lists some commits you might to try outright.