Hi, I'm trying to compile wine on XP with cygwin but make fails : Code: $ make make[1]: Entering directory `/home/Alex/wine-git/tools' make[1]: `makedep.exe' is up to date. make[1]: Leaving directory `/home/Alex/wine-git/tools' make[1]: Entering directory `/home/Alex/wine-git/libs' make[2]: Entering directory `/home/Alex/wine-git/libs/port' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/libs/port' make[2]: Entering directory `/home/Alex/wine-git/libs/wine' version=`(GIT_DIR=../../.git git describe HEAD 2>/dev/null || echo "wine-1.1.35") | sed -n -e '$s/\(.*\)/const char wine_build[] = "\1";/p'` && (echo $version | cmp -s - version.c) || echo $version >version.c || (rm -f version.c && exit 1) make[2]: Leaving directory `/home/Alex/wine-git/libs/wine' make[2]: Entering directory `/home/Alex/wine-git/libs/wpp' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/libs/wpp' make[1]: Leaving directory `/home/Alex/wine-git/libs' make[1]: Entering directory `/home/Alex/wine-git/tools' make[2]: Entering directory `/home/Alex/wine-git/tools/widl' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/tools/widl' make[2]: Entering directory `/home/Alex/wine-git/tools/winebuild' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/tools/winebuild' make[2]: Entering directory `/home/Alex/wine-git/tools/winedump' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/tools/winedump' make[2]: Entering directory `/home/Alex/wine-git/tools/winegcc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/tools/winegcc' make[2]: Entering directory `/home/Alex/wine-git/tools/wmc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/tools/wmc' make[2]: Entering directory `/home/Alex/wine-git/tools/wrc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/tools/wrc' make[1]: Leaving directory `/home/Alex/wine-git/tools' make[1]: Entering directory `/home/Alex/wine-git/include' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/Alex/wine-git/include' make[1]: Entering directory `/home/Alex/wine-git/dlls' make[2]: Entering directory `/home/Alex/wine-git/dlls/adsiid' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/dlls/adsiid' make[2]: Entering directory `/home/Alex/wine-git/dlls/dxerr8' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/dlls/dxerr8' make[2]: Entering directory `/home/Alex/wine-git/dlls/dxerr9' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/dlls/dxerr9' make[2]: Entering directory `/home/Alex/wine-git/dlls/dxguid' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/dlls/dxguid' make[2]: Entering directory `/home/Alex/wine-git/dlls/strmiids' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/dlls/strmiids' make[2]: Entering directory `/home/Alex/wine-git/dlls/uuid' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/dlls/uuid' make[2]: Entering directory `/home/Alex/wine-git/dlls/winecrt0' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/Alex/wine-git/dlls/winecrt0' make[2]: Entering directory `/home/Alex/wine-git/dlls/dinput' make[2]: `libdinput.a' is up to date. make[2]: Leaving directory `/home/Alex/wine-git/dlls/dinput' make[2]: Entering directory `/home/Alex/wine-git/dlls/acledit' ../../tools/winegcc/winegcc -B../../tools/winebuild --sysroot=../.. -shared ./acledit.spec main.o -o acledit.dll -lkernel32 ../../libs/port/libwine_port.a ./acledit.spec:4: function 'DllMain' not defined ./acledit.spec:5: function 'FMExtensionProcW' not defined winegcc: ../../tools/winebuild/winebuild.exe failed make[2]: *** [acledit.dll] Error 2 make[2]: Leaving directory `/home/Alex/wine-git/dlls/acledit' make[1]: *** [acledit] Error 2 make[1]: Leaving directory `/home/Alex/wine-git/dlls' make: *** [dlls] Error 2 Note that I installed cygwin with gcc, gdb, automake, make, git, flex and bison. Ran "./configure --without-freetype", "make depend" and finally "make" I hope it's not my fault, otherwise forgive me and tell me what to do. Thanks
Alex wrote:> I'm trying to compile wine on XP with cygwin but make fails :This is not supported. Cygwin doesn't have all the header definitions Wine needs. You have to cross build Wine on Linux with mingw: http://www.winehq.org/pipermail/wine-devel/2006-December/053069.html
Hum.. Okay But mingw does not allow me to install other packages than basic ones (plus g++, g77, ada, java, objective C and mingw make). For instance, how download wine using git and mingw ? There is no git for mingw. I tried msygit but I had troubled with new lines (\n instead of \r \n or something like that). And if I want to compile wine with freetype support, how to do ? Thanks
2009/12/26 Alex <wineforum-user at winehq.org>:> I'm trying to compile wine on XP with cygwin but make fails : > Note that I installed cygwin with gcc, gdb, automake, make, git, flex and bison. > Ran "./configure --without-freetype", "make depend" and finally "make" > I hope it's not my fault, otherwise forgive me and tell me what to do.Basically, compiling on Cygwin doesn't work yet :-) http://wiki.winehq.org/WineOnWindows Please do report bugs with latest Cygwin and latest Wine from git, and solve if possible. There isn't much useful that one can do with Wine on Windows. However, it is a useful exercise in making Wine more robustly cross-platform (and not just Linux, Linux and Linux) and making Cygwin better. - d.