KDE/kdelibs

Peter Kümmel syntheticpp at gmx.net
Thu Feb 16 17:01:28 CET 2006


Paulo Jorge Guedes wrote:
>> -----Original Message-----
>> From: Peter Kümmel [mailto:syntheticpp at gmx.net]
>> Sent: quinta-feira, 16 de Fevereiro de 2006 14:23
>> To: kde-buildsystem at kde.org
>> Subject: Re: KDE/kdelibs
>>
>> Paulo Jorge Guedes wrote:
>>> This breaks the build for MinGW:
>>>
>>>
>> CMakeFiles/kdecore.dir/kreverseresolver.obj(.text+0x9b8):kreverseresolver.
>> cpp: undefined reference to `KDE::getnameinfo(sockaddr const*, unsigned
>> int, char*, unsigned int, char*, unsigned int, int)'
>>> collect2: ld returned 1 exit status
>>>
>> inet_pton and inet_ntop are declared in win/include/mingw/arpa/inet.h
>> and defined in win/src/inet.c.
>>
>> So please check if they where found by the configure process.
>> It seems your build uses the KDE:: versions because the HAVE_
>> macros are not set.
>>
>> getnameinfo is decalred in the mingw header ws2tcpip.h.
>> This header should be included by sys/socket.h, netdb.h,
>> I recently updated these files.
> 
> getnameinfo is _defined_ in netsupp.cpp which is not included in WIN32.
> Don't know if it's supposed to be.
> 
> Paulo

Only when HAVE_GETADDRINFO is not defined (or HAVE_BROKEN_GETADDRINFO is defined)
in config.h then getnameinfo is defined in netsupp.cpp. So something goes wrong
with your configure process.
Peter


More information about the Kde-buildsystem mailing list