From owner-freebsd-ports@FreeBSD.ORG Fri Feb 28 20:48:34 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A0FBFC6 for ; Fri, 28 Feb 2014 20:48:34 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id D1FC11649 for ; Fri, 28 Feb 2014 20:48:33 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 2CA0333C22; Fri, 28 Feb 2014 15:48:28 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 634CC3984E; Fri, 28 Feb 2014 15:48:26 -0500 (EST) From: Lowell Gilbert To: Larry Rosenman Subject: Re: sysutils/lsof and defining _KERNEL References: <44k3cfrn7k.fsf@lowell-desk.lan> <84de99b878ccde0e9d397559287f10a5@webmail.lerctr.org> Date: Fri, 28 Feb 2014 15:48:26 -0500 In-Reply-To: <84de99b878ccde0e9d397559287f10a5@webmail.lerctr.org> (Larry Rosenman's message of "Fri, 28 Feb 2014 14:38:11 -0600") Message-ID: <44fvn3rmjp.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: Lowell Gilbert , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2014 20:48:34 -0000 Larry Rosenman writes: > On 2014-02-28 14:34, Lowell Gilbert wrote: >> I'm having trouble building lsof, because it's defining _KERNEL to pull >> in ZFS structures, and then tries to find opt_kdtrace.h, which isn't >> really relevant. I suspect I've messed up something in my system >> somehow, but I've been banging my head against this for hours over the >> last few days, and I can't figure out what's going on. >> >> Any clues? > what release of FreeBSD? What svn rev of the Ports Tree? > > and have you done a buildworld/buildkernel, installworld/installkernel? > > I've successfully built lsof on 10 and 11 recently from current sources. RELENG_9. Latest for both OS and ports system.