The INET6 stuff in the resolv directory that you bundled in is NetBSD-hostile. After excising it from the Makefile, everything built OK, and it appears to be working. Maybe there should be a --with-builtin-libresolv switch in the configure script? Sean.