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: Ludovic Courtès
Subject: Re: getaddrinfo on NetBSD 5.0
Date: Fri, 16 Apr 2010 10:27:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi Bruno,

Bruno Haible <address@hidden> writes:

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

Oops, indeed.

> If you are not including the 'getaddrinfo' module, what are you doing with
> AI_V4MAPPED etc.?

I am using the ‘getaddrinfo’ module, otherwise I wouldn’t have emailed
you in the first place. ;-)

The full log is at 
<http://autobuild.josefsson.org/guile/log-201004150603901912000.txt>.

I think the problem is that ‘gl_HEADER_NETDB’ determines ‘NETDB_H=''’
because <netdb.h> is indeed available and it does define ‘struct
addrinfo’; it just happens to lack some of the AI_ macros.

Should ‘gl_HEADER_NETDB’ be augmented to explicitly check for missing
macros?

Thanks,
Ludo’.




reply via email to

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