KDE/kdelibs

Paulo Jorge Guedes Paulo.Guedes at artelecom.pt
Thu Feb 16 18:39:41 CET 2006


> -----Original Message-----
> From: Paulo Jorge Guedes [mailto:Paulo.Guedes at artelecom.pt]
> Sent: quinta-feira, 16 de Fevereiro de 2006 16:48
> To: kde-buildsystem at kde.org
> Subject: RE: KDE/kdelibs
> 
> > -----Original Message-----
> > From: Thiago Macieira [mailto:thiago at kde.org]
> > Sent: quinta-feira, 16 de Fevereiro de 2006 16:19
> > To: kde-buildsystem at kde.org
> > Subject: Re: KDE/kdelibs
> >
> > Peter Kümmel wrote:
> > >> getnameinfo is _defined_ in netsupp.cpp which is not included in
> > >> WIN32. Don't know if it's supposed to be.
> > >
> > >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.
> >
> > Recent POSIX and all IPv6-capable systems should provide getaddrinfo and
> > getnameinfo. It's even in RFCs. It's the only true thread-safe and
> > IPv6-capable way of resolving hostnames.
> >
> > However, we still support old systems that don't have it. And there are
> > some that have broken implementations, so we override it.
> >
> > It makes no sense to have getaddrinfo but not getnameinfo or vice-versa.
> > So we only test for one.
> >
> > Can you check if you have getaddrinfo and getnameinfo in your system?
> 
> I don't have any. This fails:
> 
> #if (_WIN32_WINNT >= 0x0501)

For Windows XP it should be:

_WIN32_WINNT>=0x0501
WINVER>=0x0501

I'm getting 1024 for both.

So, I guess we need to include netsupp.cpp (which doesn't compile btw) also on win32 as there is a chance this functions are not available.

Paulo


More information about the Kde-buildsystem mailing list