Subject: Re: INET6 prevents libc compiling
To: Ian Dall <ian@beware.dropbear.id.au>
From: None <itojun@iijlab.net>
List: current-users
Date: 07/04/1999 02:41:40
>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.

	They are in src/include/netdb.h.  Please be sure to get the latest
	include files in your SUP tree, and then be sure to install those
	into /usr/include (during make build, or by "make includes").

itojun