"make" command works, but when I try "make crosstest" the following message appears: mlang.cross.o: In function `func_mlang': /home/vitperov/Projects/wine/dlls/mlang/tests/mlang.c:831: undefined reference to `_IID_IMultiLanguage2' /home/vitperov/Projects/wine/dlls/mlang/tests/mlang.c:864: undefined reference to `_IID_IMLangFontLink'
I've solved this problem by inserting: const GUID IID_IMLangFontLink_n DECLSPEC_HIDDEN; const GUID IID_IMLangFontLink_n = { 0x359f3441, 0xbd4a, 0x11d0, { 0xb1, 0x88, 0x00, 0xaa, 0x00, 0x38, 0xc9, 0x69 } };
const GUID IID_IMultiLanguage2_n DECLSPEC_HIDDEN; const GUID IID_IMultiLanguage2_n = { 0xdccfc164, 0x2b38, 0x11d2, { 0xb7, 0xec, 0x00, 0xc0, 0x4f,0x8f,0x5d,0x9a } };
and then use &IID_IMultiLanguage2_n instead of &IID_IMultiLanguage2.
But it is not good decision!
Does anybody know the correct way to fix these tests?
On Thu, Jul 3, 2008 at 9:47 AM, Vitaly Perov vitperov@etersoft.ru wrote:
"make" command works, but when I try "make crosstest" the following message appears: mlang.cross.o: In function `func_mlang': /home/vitperov/Projects/wine/dlls/mlang/tests/mlang.c:831: undefined reference to `_IID_IMultiLanguage2' /home/vitperov/Projects/wine/dlls/mlang/tests/mlang.c:864: undefined reference to `_IID_IMLangFontLink'
I've solved this problem by inserting: const GUID IID_IMLangFontLink_n DECLSPEC_HIDDEN; const GUID IID_IMLangFontLink_n = { 0x359f3441, 0xbd4a, 0x11d0, { 0xb1, 0x88, 0x00, 0xaa, 0x00, 0x38, 0xc9, 0x69 } };
const GUID IID_IMultiLanguage2_n DECLSPEC_HIDDEN; const GUID IID_IMultiLanguage2_n = { 0xdccfc164, 0x2b38, 0x11d2, { 0xb7, 0xec, 0x00, 0xc0, 0x4f,0x8f,0x5d,0x9a } };
and then use &IID_IMultiLanguage2_n instead of &IID_IMultiLanguage2.
But it is not good decision!
Does anybody know the correct way to fix these tests?
Add your fix to w32api (mingws headers) with a patch or use wines headers to cross compile. If you patch w32api send your patch to Paul Millar. If you want to use Wine's headers try my script.
http://klehm.net/wine/crossbuild_tricks.sh.
HTH, John Klehm
"John Klehm" xixsimplicityxix@gmail.com writes:
Add your fix to w32api (mingws headers) with a patch or use wines headers to cross compile. If you patch w32api send your patch to Paul Millar. If you want to use Wine's headers try my script.
Note that most of the issues that your script is hacking around are fixed properly now. You should get rid of them as they will probably cause more harm than good, especially the exception handling bits.
On Thu, Jul 3, 2008 at 11:22 AM, Alexandre Julliard julliard@winehq.org wrote:
"John Klehm" xixsimplicityxix@gmail.com writes:
Add your fix to w32api (mingws headers) with a patch or use wines headers to cross compile. If you patch w32api send your patch to Paul Millar. If you want to use Wine's headers try my script.
Note that most of the issues that your script is hacking around are fixed properly now. You should get rid of them as they will probably cause more harm than good, especially the exception handling bits.
-- Alexandre Julliard julliard@winehq.org
Ahh good to know, thanks!
--John Klehm