msctf crosstest build failed

Nikolay Sivov bunglehead at gmail.com
Thu Feb 19 08:20:48 CST 2009


Nicolas Le Cam wrote:
> 2009/2/19 Nikolay Sivov <bunglehead at gmail.com>:
>   
>> Nicolas Le Cam wrote:
>>     
>>> 2009/2/18 Nikolay Sivov <bunglehead at gmail.com>:
>>>
>>>       
>>>> Building today crosstests I've got:
>>>>
>>>> i586-mingw32msvc-gcc -c -I. -I. -I../../../include -I../../../include
>>>> -g -O2 -o inputprocessor.cross.o inputprocessor.c
>>>> i586-mingw32msvc-gcc -c -I. -I. -I../../../include -I../../../include
>>>> -g -O2 -o testlist.cross.o testlist.c
>>>> i586-mingw32msvc-gcc inputprocessor.cross.o     testlist.cross.o -o
>>>> msctf_crosstest.exe -L../../../dlls -L../../../dlls/uuid
>>>> -L../../../dlls/ole32 -L../../../dlls/user32 -L../../../dlls/kernel32
>>>> -luuid -lole32 -luser32 -lkernel32
>>>> inputprocessor.cross.o: In function `initialize':
>>>> /home/mrlarch/wine-git/dlls/msctf/tests/inputprocessor.c:41: undefined
>>>> reference to `_CLSID_TF_InputProcessorProfiles'
>>>> collect2: ld returned 1 exit status
>>>> make[2]: *** [msctf_crosstest.exe] Error 1
>>>> make[2]: Leaving directory `/home/mrlarch/wine-git/dlls/msctf/tests'
>>>> make[1]: *** [msctf/tests/__crosstest__] Error 2
>>>> make[1]: Leaving directory `/home/mrlarch/wine-git/dlls'
>>>> make: *** [dlls/__crosstest__] Error 2
>>>>
>>>> This outputs after:
>>>> make clean
>>>> ./configure
>>>> make depend && make
>>>> make crosstest
>>>>
>>>> What seems to be a problem?
>>>>
>>>>
>>>>
>>>>
>>>>         
>>> Same here. Can't find a solution.
>>> Perhaps it's because libuuid exports the CLSID as
>>> CLSID_TF_InputProcessorProfiles instead of
>>> _CLSID_TF_InputProcessorProfiles but I don't know how to fix.
>>>
>>>       
>> It's normal, is a kind of naming convention, don't know how to call it
>> right, but it's ok.
>>     
>>> Does building it with winegcc instead of ar / ranlib could fix the problem
>>> ?
>>>
>>>       
>> Native test builds without any problem. What do you mean?
>> As I checked uuid isn't imported anywhere else in test suite, inline guid
>> definitions used instead.
>> So if nobody knows why this happens I propose to patch msctf/tests not to
>> use uuid.
>> Now I'm setting up a system with rather fresh Lenny, so you could send this
>> patch.
>>
>>
>>     
>
> Just found that Alexandre committed something related to that last
> year. It seems to be a problem with MingW, see [1].
> I will send a fix this evening.
>
>
> [1] http://source.winehq.org/git/wine.git/?a=commit;h=79c64acc7b5f9f9de07592fece1594d583e6f854
>
>   
Ok, thanks.



More information about the wine-devel mailing list