From owner-freebsd-hackers@freebsd.org Tue Nov 14 15:23:09 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62CAADC1B04 for ; Tue, 14 Nov 2017 15:23:09 +0000 (UTC) (envelope-from by@meetlost.com) Received: from meetlost.com (freebsd.meetlost.com [IPv6:2403:2500:8000:1::962]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.meetlost.com", Issuer "mail.meetlost.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0038030E1 for ; Tue, 14 Nov 2017 15:23:08 +0000 (UTC) (envelope-from by@meetlost.com) Received: from [192.168.1.102] ([163.125.208.100]) (authenticated bits=0) by meetlost.com (8.15.2/8.15.2) with ESMTPSA id vAEFMlvx016909 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 14 Nov 2017 23:22:48 +0800 (CST) (envelope-from by@meetlost.com) Content-Type: text/plain; charset=gb2312 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Build nvi 2.1.3 on Mac, missing build instructions From: by In-Reply-To: Date: Tue, 14 Nov 2017 23:23:03 +0800 Cc: FreeBSD Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <39041EAD-C542-48C5-8827-F76D8A4FF034@meetlost.com> References: <22F67493-EA01-4190-BAA1-598B30F8517E@meetlost.com> <4AA49183-7007-4AA6-92E2-C97361A01C21@meetlost.com> <366305D1-CA76-4FFF-80A2-CB267082A96D@meetlost.com> To: Zhihao Yuan X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 15:23:09 -0000 >=20 > When trying to run =A1=AEbsdmake=A1=AF, it puts the error message like = below, add > =A1=AE-lresolv=A1=AF suppresses this. >=20 > Undefined symbols for architecture x86_64: > "_res_9_b64_ntop", referenced from: > _rcv_dlnwrite in recover.o > "_res_9_b64_pton", referenced from: > _rcv_dlnread in recover.o > ld: symbol(s) not found for architecture x86_64 >=20 >=20 > And this error is not called out when using cmake? > That's... interesting. >=20 This error is not shown with cmake. After work around the db.h issue, I can get the binary via make. by=