Subject: INET6 prevents libc compiling
To: None <current-users@netbsd.org>
From: Ian Dall <ian@beware.dropbear.id.au>
List: current-users
Date: 07/04/1999 01:17:34
When I try and build libc I get errors compiling net/res_init.c:

/usr3/netbsd-1.2/lsrc/lib/libc/net/res_init.c:145: storage size of `hints' isn't known
/usr3/netbsd-1.2/lsrc/lib/libc/net/res_init.c:298: `AI_NUMERICHOST' undeclared (first use in this function)

...

etc.

It appears that some include file is not defining stuff required for INET6
including:

  struct addrinfo
  AI_NUMERICHOST

This is on a pc532, but a grep of both the kernel src tree and the lib
src tree fails to find AI_NUMERICHOST for anywhere for any architecture.

Ian