Re: Lost failing with many issues

From: Dimitry Andric <>
Date: Wed, 20 Oct 2021 17:55:36 UTC
On 20 Oct 2021, at 19:14, @lbutlr <> wrote:
> When trying to make lsof from sysutils/lsof in the ports tree, after a `make clean; make` on 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 i386 I get:
> --- dmnt.o ---
> In file included from dmnt.c:38:
> --- dnode.o ---
> In file included from dnode.c:38:
> In file included from ./lsof.h:250:
> In file included from ./dlsof.h:288:
> /usr/include/kvm.h:86:2: error: unknown type name 'kpaddr_t'; did you mean 'kvaddr_t'?
>        kpaddr_t        kp_paddr;
>        ^

Building lsof requires matching kernel sources, which it attempts to
find via ${SRC_BASE}/sys. Are yours installed and up-to-date?

In this particular case it needs: