fix linking of kdecore

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Sun Oct 22 17:18:45 CEST 2006


Peter Kümmel schrieb:
> Christian Ehrlicher wrote:
>> Peter Kümmel schrieb:
>>> Christian Ehrlicher wrote:
>>>> Sebastian Sauer schrieb:
>>>>> On Sunday 22 October 2006 15:05, Christian Ehrlicher wrote:
>>>>>> Sebastian Sauer schrieb:
>>>>>>> Anyway. Commit? More testing? Feedback! :)
>>>>>> I'm currently compiling with mingw to see what's going wrong there. But
>>>>>> I know for sure that it worked some time ago and that nothing important
>>>>>> was changed to break mingw compile... curious
>>>>> Propably we both introduced it. First me with replacing the set() with 
>>>>> find_library and then you who just commented it out without reintroducing the 
>>>>> set() which was there before ( r597606 :-)
>>>>>
>>>> I've also found a problem in current winapi-3.7 from mingw - getaddrinfo
>>>> is not defined - I'll askat mingw.
>>> Here the error looks like this:
>>> KDE::getnameinfo(sockaddr const*, int, char*, unsigned int, char*, unsigned int, int)'
>>>
>>> seems the function is in the wrong namespace.
>>>
>> No.
>> See
>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/gethostbyname_2.asp
>> (remarks section).
>> and here:
>> https://sourceforge.net/forum/message.php?msg_id=3591325
>>
>> Looks like we've found another function for kdewin32. Or better - write
>> a wrapper for mingw... is there a function for this available in the
>> portable runtime project?
>>
>> Christian
> 
> Oh, maybe it's more complicated.
> 
Yes... :(

We should use getaddrinfo implemenatation from netsupp.c and adding an
option to allow the use of the native getaddrinfo (with the result that
the programs only run on winxp and up).

@Peter:
Do you want to figure it out how to make it compile or should I?

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20061022/61aab240/attachment.pgp 


More information about the Kde-windows mailing list