lsof won't build

Robert Huff roberthuff at
Sat Sep 19 17:59:10 UTC 2009

Paul Schmehl writes:

>  I'm getting this error when trying to install sysutils/lsof:
>  /usr/src/sys/vm/vm.h:64:24: error: machine/vm.h: No such file or directory
>  Shouldn't machine be some sort of macro that points at the ARCH
>  of the system lsof is being installed on?

	Having experienced this recently:
	The usual casue of this is the installed kernel(+world ??)
being out of sync with the contents of /usr/src.
	The solution is to rebuild/reinstall kernel(+world ??).
	Perosnally I think it's bad programming also ... but then I'm
not the one writing the code.

				Robert Huff

More information about the freebsd-ports mailing list