KDE/kdelibs

Paulo Jorge Guedes Paulo.Guedes at artelecom.pt
Thu Feb 16 16:48:00 CET 2006


> -----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


More information about the Kde-buildsystem mailing list