PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Winex 3.3 Cvs make Fehler



Flame6
29.03.05, 18:56
Wenn ich winex 3.3 via cvs compiliere bekomme ich folgende fehlermeldung:


oaidl_p.c:10610: warning: use of cast expressions as lvalues is deprecated
oaidl_p.c:10620: warning: use of cast expressions as lvalues is deprecated
oaidl_p.c: At top level:
oaidl_p.c:10634: warning: missing braces around initializer
oaidl_p.c:10634: warning: (near initialization for `_ICreateErrorInfoProxyVtbl.header')
oaidl_p.c:10657: warning: missing braces around initializer
oaidl_p.c:10657: warning: (near initialization for `_ICreateErrorInfoStubVtbl.header')
oaidl_p.c:10672: warning: ignoring #pragma code_seg
oaidl_p.c: In function `ISupportErrorInfo_InterfaceSupportsErrorInfo_Prox y':
oaidl_p.c:10718: warning: use of cast expressions as lvalues is deprecated
oaidl_p.c: In function `ISupportErrorInfo_InterfaceSupportsErrorInfo_Stub ':
oaidl_p.c:10752: error: assignment of read-only variable `riid'
oaidl_p.c:10771: warning: use of cast expressions as lvalues is deprecated
oaidl_p.c: At top level:
oaidl_p.c:10785: warning: missing braces around initializer
oaidl_p.c:10785: warning: (near initialization for `_ISupportErrorInfoProxyVtbl.header')
oaidl_p.c:10800: warning: missing braces around initializer
oaidl_p.c:10800: warning: (near initialization for `_ISupportErrorInfoStubVtbl.header')
oaidl_p.c:10815: warning: ignoring #pragma code_seg
oaidl_p.c: In function `ITypeFactory_CreateFromTypeInfo_Proxy':
oaidl_p.c:10888: warning: use of cast expressions as lvalues is deprecated
oaidl_p.c: In function `ITypeFactory_CreateFromTypeInfo_Stub':
oaidl_p.c:10932: error: assignment of read-only variable `riid'
oaidl_p.c:10949: warning: assignment from incompatible pointer type
oaidl_p.c:10978: warning: use of cast expressions as lvalues is deprecated
oaidl_p.c: At top level:
oaidl_p.c:11007: warning: missing braces around initializer
oaidl_p.c:11007: warning: (near initialization for `Object_StubDesc.IMPLICIT_HANDLE_INFO')
oaidl_p.c:11028: warning: missing braces around initializer
oaidl_p.c:11028: warning: (near initialization for `_ITypeFactoryProxyVtbl.header')
oaidl_p.c:11043: warning: missing braces around initializer
oaidl_p.c:11043: warning: (near initialization for `_ITypeFactoryStubVtbl.header')
oaidl_p.c:11074: warning: ignoring #pragma data_seg
oaidl_p.c:11081: warning: initialization from incompatible pointer type
oaidl_p.c:11082: warning: initialization from incompatible pointer type
oaidl_p.c:11083: warning: initialization from incompatible pointer type
oaidl_p.c:11084: warning: initialization from incompatible pointer type
oaidl_p.c:11087: warning: initialization from incompatible pointer type
oaidl_p.c:11088: warning: initialization from incompatible pointer type
oaidl_p.c:11089: warning: initialization from incompatible pointer type
oaidl_p.c:11090: warning: initialization from incompatible pointer type
oaidl_p.c:11093: warning: initialization from incompatible pointer type
oaidl_p.c:11094: warning: initialization from incompatible pointer type
oaidl_p.c:11095: warning: initialization from incompatible pointer type
oaidl_p.c:11096: warning: initialization from incompatible pointer type
make[2]: *** [oaidl_p.o] Fehler 1
make[2]: Leaving directory `/home/Adrian/.WineCVS/sources/winex330/winex/dlls/oleaut32'
make[1]: *** [oleaut32/liboleaut32.so] Fehler 2
make[1]: Leaving directory `/home/Adrian/.WineCVS/sources/winex330/winex/dlls'
make: *** [dlls] Fehler 2


Error in Make

Try fixing the error based on the output above, and
run the script again, without paramaters (Eg: WineCVS-1.sh)

Dann habe ich aus diesem Patch (http://lists.transgaming.org/pipermail/winex-cvs-logs/2004-March/000827.html)
den Text kopiert und in eine Textdatei mit dem Namen oleaut32.patch gepackt. Diese hab ich dann so:


patch -p0 < oleaut32.patch
can't find file to patch at input line 22
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Subject: winex/dlls/oleaut32 oaidl_p.c,1.1,1.1.10.1Update of /var/lib/cvsd/cvsroot/winex/dlls/oleaut32
|In directory agravaine:/tmp/cvs-serv9280
|
|Modified Files:
| Tag: winex-3-3-branch
| oaidl_p.c
|Log Message:
|- Assignments to read only variables was causing compiler errors on newer
| GCCes.
|- Cleaned up other warnings while I was at it.
| (Merged from head)
|
|
|Index: oaidl_p.c
|================================================= ==================
|RCS file: /var/lib/cvsd/cvsroot/winex/dlls/oleaut32/oaidl_p.c,v
|retrieving revision 1.1
|retrieving revision 1.1.10.1
|diff -u -d -r1.1 -r1.1.10.1
|--- oaidl_p.c 19 Feb 2003 03:16:06 -0000 1.1
|+++ oaidl_p.c 16 Mar 2004 19:58:36 -0000 1.1.10.1
--------------------------
File to patch: /home/Adrian/winex/dlls/oleaut32/oaidl_p.c~

ausgeführt.
Dabei kommt folgende Fehlermeldung:
patching file /home/Adrian/winex/dlls/oleaut32/oaidl_p.c
Hunk #1 FAILED at 65.
Hunk #2 FAILED at 432.
Hunk #3 FAILED at 722.
Hunk #4 FAILED at 864.
Hunk #5 FAILED at 887.
Hunk #6 FAILED at 904.
Hunk #7 FAILED at 1392.
Hunk #8 FAILED at 1415.
Hunk #9 FAILED at 1432.
Hunk #10 FAILED at 1944.
Hunk #11 FAILED at 1963.
Hunk #12 FAILED at 1980.
Hunk #13 FAILED at 4035.
Hunk #14 FAILED at 4053.
Hunk #15 FAILED at 4665.
Hunk #16 FAILED at 4718.
Hunk #17 FAILED at 4735.
Hunk #18 FAILED at 5285.
Hunk #19 FAILED at 5293.
Hunk #20 FAILED at 5445.
Hunk #21 FAILED at 5454.
Hunk #22 FAILED at 5612.
Hunk #23 FAILED at 5622.
Hunk #24 FAILED at 5780.
Hunk #25 FAILED at 5789.
Hunk #26 FAILED at 5944.
Hunk #27 FAILED at 5953.
Hunk #28 FAILED at 6934.
Hunk #29 FAILED at 7017.
Hunk #30 FAILED at 7034.
Hunk #31 FAILED at 7496.
Hunk #32 FAILED at 7504.
Hunk #33 FAILED at 8676.
Hunk #34 FAILED at 8711.
Hunk #35 FAILED at 8728.
Hunk #36 FAILED at 8822.
Hunk #37 FAILED at 8830.
Hunk #38 FAILED at 9363.
Hunk #39 FAILED at 9406.
Hunk #40 FAILED at 9427.
Hunk #41 FAILED at 10050.
Hunk #42 FAILED at 10075.
Hunk #43 FAILED at 10092.
Hunk #44 FAILED at 10163.
Hunk #45 FAILED at 10634.
Hunk #46 FAILED at 10659.
Hunk #47 FAILED at 10676.
Hunk #48 FAILED at 10747.
Hunk #49 FAILED at 10786.
Hunk #50 FAILED at 10803.
Hunk #51 FAILED at 10820.
Hunk #52 FAILED at 10927.
Hunk #53 FAILED at 10935.
Hunk #54 FAILED at 10951.
Hunk #55 FAILED at 11009.
Hunk #56 FAILED at 11030.
Hunk #57 FAILED at 11047.
Hunk #58 FAILED at 11080.
58 out of 58 hunks FAILED -- saving rejects to file /home/Adrian/winex/dlls/oleaut32/oaidl_p.c~

Gegoogelt hab ich schon und auch im Forum habe ich keine Lösung gefunden.
:confused:

Hoffe auf eine schnelle Antwort.

Danke!

Flame6
03.04.05, 14:10
Hab das prob gelöst man muss einfach nur die Datei oaidl_p.c mit der aus dem transgaming winex Cvs tree ersetzen.