Stefan Leichter wrote:
Hello,
the tmarshal tests broke cross compiling. Compiling fails for me with
i586-mingw32msvc-gcc -c -I../../../../wine-git/dlls/oleaut32/tests -I. -I../../../../wine-git/include -I../../../include -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o tmarshal.cross.o ../../../../wine-git/dlls/oleaut32/tests/tmarshal.c ../../../../wine-git/dlls/oleaut32/tests/tmarshal.c:1: warning: -fPIC ignored for target (all code is position independent) ../../../../wine-git/dlls/oleaut32/tests/tmarshal.c:28:22: tmarshal.h: Datei oder Verzeichnis nicht gefunden ../../../../wine-git/dlls/oleaut32/tests/tmarshal.c:218: warning: type defaults to `int' in declaration of `IWidgetVtbl' ../../../../wine-git/dlls/oleaut32/tests/tmarshal.c:218: warning: no semicolon at end of struct or union ... make[2]: *** [tmarshal.cross.o] Fehler 1 make[2]: Leaving directory `/usr/src/wine/wine-mingw/dlls/oleaut32/tests' make[1]: *** [oleaut32/tests/__crosstest__] Fehler 2 make[1]: Leaving directory `/usr/src/wine/wine-mingw/dlls' make: *** [dlls/__crosstest__] Fehler 2
The problem is related to the fact that i'm doing out of tree builds. Therefore i have three directories:
- wine-git : the source tree
- wine-build : the normal build (unix)
- wine-mingw : the cross compile build
The missing tmarshal.h file is in wine-build/dlls/oleauth32/tests
Bye Stefan
Hi,
as far as I can see it's not the fact that tmarshal.h is not there. It's the fact it's not build, as the .idl files are there (on a clean Wine it's not in the tests directory as well). On a 'normal' Wine-tree you will see it being built:
../../../tools/widl/widl -I. -I. -I../../../include -I../../../include -h -H tmarshal.h tmarshal.idl
Cheers,
Paul.