Subject: what library to get `getipnodebyname' and `freehostent'?
To: None <netbsd-help@NetBSD.org>
From: Henry Nelson <netb@yuba.kcn.ne.jp>
List: netbsd-help
Date: 04/30/2006 16:42:03
uname -a
NetBSD 3.0.0_STABLE

Trying to compile tcp_wrappers_7.6-ipv6.4, but keep getting:
	libwrap.a(misc.o)(.text+0x1c4): In function `tcpd_gethostbyname':
	: undefined reference to `freehostent'
	libwrap.a(misc.o)(.text+0x1d5): In function `tcpd_gethostbyname':
	: undefined reference to `getipnodebyname'

I notice in netdb.h:
	#if 0 /* we do not ship these */
	struct hostent  *getipnodebyname(const char *, int, int, int *);
	#endif 
and
	#if 0 /* we do not ship this */
	void            freehostent(struct hostent *);
	#endif

Anyway, hints or help much appreciated.

-- 
henry nelson
  WWW_HOME=http://yuba.kcn.ne.jp/~home/