make crosstest broken (tmarshal)
paul.vriens.wine at gmail.com
Thu Jan 25 00:51:26 CST 2007
Stefan Leichter wrote:
> 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: *** [tmarshal.cross.o] Fehler 1
> make: Leaving directory `/usr/src/wine/wine-mingw/dlls/oleaut32/tests'
> make: *** [oleaut32/tests/__crosstest__] Fehler 2
> make: 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:
> 1. wine-git : the source tree
> 2. wine-build : the normal build (unix)
> 3. wine-mingw : the cross compile build
> The missing tmarshal.h file is in wine-build/dlls/oleauth32/tests
> Bye Stefan
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
More information about the wine-devel