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 @gnulib_getaddri...@” 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