Unable to make crosstest for mlang/tests

John Klehm xixsimplicityxix at gmail.com
Thu Jul 3 11:16:01 CDT 2008

On Thu, Jul 3, 2008 at 9:47 AM, Vitaly Perov <vitperov at 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 = { 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.


John Klehm

More information about the wine-devel mailing list