Am Thursday 25 January 2007 13:08 schrieb Alexandre Julliard:
Stefan Leichter Stefan.Leichter@camLine.com writes:
What parameters do i need to pass to configure for this case. If i do it like Paul Millar descripted it
../wine-git/configure --host=i586-mingw32msvc \ -with-wine-tools=../wine-build
That should work. Make sure you don't have a tmarshal.h in the source tree.
I'm sorry to tell you that it doesn't work but it looks different now. Just building the tests give me the error
sle@sle3:/usr/src/wine/wine-mingw$ make -C dlls/oleaut32/tests/ make: Entering directory `/usr/src/wine/wine-mingw/dlls/oleaut32/tests' ../../../../wine-build/tools/widl/widl -I../../../../wine-git/dlls/oleaut32/tests -I. -I../../../../wine-git/include -I../../../include -h -H tmarshal.h ../../../../wine-git/dlls/oleaut32/tests/tmarshal.idl i586-mingw32msvc-gcc -c -I../../../../wine-git/dlls/oleaut32/tests -I. -I../../../../wine-git/include -I../../../include -D_REENTRANT -Wall -pipe -fno-strength-reduce -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o tmarshal.o ../../../../wine-git/dlls/oleaut32/tests/tmarshal.c ../../../../wine-build/tools/widl/widl -I../../../../wine-git/dlls/oleaut32/tests -I. -I../../../../wine-git/include -I../../../include -t -T tmarshal.tlb ../../../../wine-git/dlls/oleaut32/tests/tmarshal.idl error: Could not open importlib stdole2.tlb. make: *** [tmarshal.tlb] Fehler 2 make: Leaving directory `/usr/src/wine/wine-mingw/dlls/oleaut32/tests'
Checking the _unix_build_ i find the missing stdole2.tlb in ./dlls/stdole2.tlb and ./include/stdole2.tlb. When doing the cross compile the one in the include directory not generated.
Just running make in the top level directory of the cross build gives me the error:
make[1]: Entering directory `/usr/src/wine/wine-mingw/loader' (GIT_DIR=../../wine-git/.git git-describe HEAD 2>/dev/null || echo "wine-0.9.30") | sed -e 's/(.*)/const char wine_version[] = "\1";/'
version-stamp || (rm -f version-stamp && exit 1)
i586-mingw32msvc-gcc -o wine-pthread pthread.o main.o version.o -L../libs/wine -lwine ../libs/port/libwine_port.a main.o: In function `main':/usr/src/wine/wine-mingw/loader/../../wine-git/loader/main.c:110: undefined reference to `_pthread_functions' collect2: ld returned 1 exit status make[1]: *** [wine-pthread] Fehler 1 make[1]: Leaving directory `/usr/src/wine/wine-mingw/loader' make: *** [loader] Fehler 2
And if i try make in the dll directory i get:
make[1]: Entering directory `/usr/src/wine/wine-mingw/dlls/winspool.drv' ../../../wine-build/tools/winebuild/winebuild -w --def -o libwinspool.a --export ../../../wine-git/dlls/winspool.drv/winspool.drv.spec make[1]: Leaving directory `/usr/src/wine/wine-mingw/dlls/winspool.drv' rm -f libwinspool.a && ln -s winspool.drv/libwinspool.a libwinspool.a ... make[1]: Entering directory `/usr/src/wine/wine-mingw/dlls/comdlg32' i586-mingw32msvc-dllwrap -k --def libcomdlg32.def -o comdlg32.dll rsrc.res.o cdlg32.o colordlg.o filedlg.o filedlg31.o filedlgbrowser.o finddlg32.o fontdlg.o printdlg.o -L../../dlls -L../../dlls/ole32 -L../../dlls/shell32 -L../../dlls/shlwapi -L../../dlls/comctl32 -L../../dlls/winspool -L../../dlls/user32 -L../../dlls/gdi32 -L../../dlls/advapi32 -L../../dlls/kernel32 -L../../dlls/ntdll -lole32 -lshell32 -lshlwapi -lcomctl32 -lwinspool -luser32 -lgdi32 -ladvapi32 -lkernel32 -lntdll -L../../libs/wine -lwine -luuid ../../libs/port/libwine_port.a ../../dlls/libwinspool.a: file not recognized: File format not recognized collect2: ld returned 1 exit status i586-mingw32msvc-dllwrap: i586-mingw32msvc-gcc exited with status 1 make[1]: *** [comdlg32.dll] Fehler 1 make[1]: Leaving directory `/usr/src/wine/wine-mingw/dlls/comdlg32' make: *** [comdlg32] Fehler 2
These problems are show stoppers for me because i have no idea how to fix it.
Bye Stefan
PS: I wiill try again on Monday