make crosstest broken (tmarshal)

Stefan Leichter Stefan.Leichter at
Wed Jan 24 15:18:11 CST 2007


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:
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

More information about the wine-devel mailing list