From owner-freebsd-current Mon Jul 13 14:53:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA16412 for freebsd-current-outgoing; Mon, 13 Jul 1998 14:53:06 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from myrddin.demon.co.uk (exim@myrddin.demon.co.uk [158.152.54.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA16389 for ; Mon, 13 Jul 1998 14:52:56 -0700 (PDT) (envelope-from dom@myrddin.demon.co.uk) Received: from dom by myrddin.demon.co.uk with local (Exim 1.92 #1) id 0yvRzX-00006l-00; Sun, 12 Jul 1998 20:40:59 +0100 To: Matthew Jason Euclid Barnhart Cc: freebsd-current@FreeBSD.ORG Subject: Re: Secure portmap in /usr/src/usr.sbin/portmap References: <19980712124741.46946@io.com> From: Dom Mitchell In-Reply-To: Matthew Jason Euclid Barnhart's message of "Sun, 12 Jul 1998 12:47:41 -0500" X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Date: Sun, 12 Jul 1998 20:40:59 +0100 Message-Id: Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Jason Euclid Barnhart 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