Date: Sun, 12 Jul 1998 20:40:59 +0100 From: Dom Mitchell <dom@myrddin.demon.co.uk> To: Matthew Jason Euclid Barnhart <euclid@io.com> Cc: freebsd-current@FreeBSD.ORG Subject: Re: Secure portmap in /usr/src/usr.sbin/portmap Message-ID: <E0yvRzX-00006l-00.qmail@myrddin.demon.co.uk> In-Reply-To: Matthew Jason Euclid Barnhart's message of "Sun, 12 Jul 1998 12:47:41 -0500" References: <19980712124741.46946@io.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Jason Euclid Barnhart <euclid@io.com> writes: > My system is PII/266, running 3.0-CURRENT (daily cvsup). > > I've installed tcp_wrappers-7.6 from the Ports collection, and tcpd > works fine from inetd. In looking at the Makefile and source for the > distributed portmap, it looks as though I can simply define HOSTS_ACCESS > (which I've tried in /etc/make.conf, and by hand) to enable wrappers > support. However, every compile fails as such: > > cc -O -pipe -DHOSTS_ACCESS -DCHECK_PORT -o portmap portmap.o > from_local.o pmap_check.o > pmap_check.o: Undefined symbol `_hosts_ctl' referenced from text segment > pmap_check.o: Undefined symbol `_hosts_ctl' referenced from text segment > pmap_check.o: Undefined symbol `_hosts_ctl' referenced from text segment > *** Error code 1 Try adding (not sure of the exact bmake syntax): LDADD+= -lwrap To the Makefile. You might also need to point it at the correct lib directory under /usr/local/lib. -- ``If make doesn't do what you expect it to, it's a good chance the makefile is wrong.'' -- Adam de Boor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0yvRzX-00006l-00.qmail>