bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getaddrinfo on NetBSD 5.0


From: Bruno Haible
Subject: Re: getaddrinfo on NetBSD 5.0
Date: Fri, 16 Apr 2010 06:33:27 +0200
User-agent: KMail/1.9.9

Hi Ludo,

> ../libguile/net_db.x: In function 'scm_init_net_db':
> ../libguile/net_db.x:19: error: 'AI_V4MAPPED' undeclared (first use in this 
> function)
> ../libguile/net_db.x:19: error: (Each undeclared identifier is reported only 
> once
> ../libguile/net_db.x:19: error: for each function it appears in.)
> ../libguile/net_db.x:21: error: 'AI_ADDRCONFIG' undeclared (first use in this 
> function)
> gmake[3]: *** [net_db.lo] Error 1
> ...
> but these are within “#if @address@hidden and AFAICS
> @GNULIB_GETADDRINFO@ is always zero.

@GNULIB_GETADDRINFO@ is 1 if you ask gnulib-tool to include the 'getaddrinfo'
module.

If you are not including the 'getaddrinfo' module, what are you doing with
AI_V4MAPPED etc.? You can't possibly be using the getaddrinfo() function
without the gnulib module, since the function is missing on so many platforms
(see doc/posix-functions/getaddrinfo.texi)?

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]