James_Huk
2010-Jun-20 07:26 UTC
[Wine] I can compile old wine from download page, but not from git?
Hello again. The problem is - when I download wine - let say 0.9.53 from here: http://ibiblio.org/pub/linux/system/emulators/wine/wine-0.9.53.tar.bz2 I can compile it on Debian Lenny without problems, however - when I use git like this: git clone git://source.winehq.org/git/wine.git wine-git cd wine-git git-reset wine-0.9.53 git checkout -f ./configure && make depend && make I get: In file included from comm16.c:66: win.h:37: error: field obj has incomplete type comm16.c: In function EnableCommNotification16: comm16.c:1092: warning: implicit declaration of function WIN_Handle32 comm16.c:1092: warning: assignment makes pointer from integer without a cast make[2]: *** [comm16.o] BBd 1 make[2]: Opuszczenie katalogu `/home/james/wine-git/dlls/user32' make[1]: *** [user32] BBd 2 make[1]: Opuszczenie katalogu `/home/james/wine-git/dlls' make: *** [dlls] BBd 2 What am I missing? I thought that source from both git and download page is the same... I wanted to do reverse regression test but with this error it is simply impossible. How can I fix this? Thanks in advance.
fcmartins
2010-Jun-20 08:34 UTC
[Wine] Re: I can compile old wine from download page, but not from git?
Well, I've done slightly different with> git reset > git checkout wine-0.9.53and got different errors: ccache gcc -c -I. -I. -I../../include -I../../include -I/usr/include/freetype2 -D__WINESRC__ -D_GDI32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o freetype.o freetype.c freetype.c:166: error: ?FT_MulFix? undeclared here (not in a function) freetype.c:166: warning: type defaults to ?int? in declaration of ?pFT_MulFix? freetype.c: In function ?WineEngGetOutlineTextMetrics?: freetype.c:4277: error: called object ?pFT_MulFix? is not a function freetype.c:4278: error: called object ?pFT_MulFix? is not a function I guess these are due to unspotted mismatches of expected header files.
James McKenzie
2010-Jun-20 15:48 UTC
[Wine] I can compile old wine from download page, but not from git?
James_Huk wrote:> Hello again. > > The problem is - when I download wine - let say 0.9.53 from here: > > http://ibiblio.org/pub/linux/system/emulators/wine/wine-0.9.53.tar.bz2 > > I can compile it on Debian Lenny without problems, however - when I use git like this: > > git clone git://source.winehq.org/git/wine.git wine-git > cd wine-git > git-reset wine-0.9.53 >git-reset --hard wine-0.9.53 Does this make a difference? Also, I tend to create more than one branch. git branch stable git checkout stable git reset --hard wine-0.9.53 That way the master can be updated later. James McKenzie
James_Huk
2010-Jun-21 08:27 UTC
[Wine] Re: I can compile old wine from download page, but not from git?
Yes, it would seem this helped - I will test this more thoroughly