lsof won't build
Paul Schmehl
pschmehl_lists at tx.rr.com
Sat Sep 19 22:28:46 UTC 2009
--On September 19, 2009 6:16:22 PM -0400 Lowell Gilbert
<freebsd-ports-local at be-well.ilk.org> wrote:
> Robert Huff <roberthuff at rcn.com> writes:
>
>> Paul Schmehl writes:
>>
>>> > The usual casue of this is the installed kernel(+world ??)
>>> > being out of sync with the contents of /usr/src.
>>>
>>> That doesn't make sense to me. vm.h is a src file.
>>
>> I have not read the code ... but as I understnd it, the build
>> process draws on header files from both /usr/include and /usr/src.
>> If the two disagree - <throat-slitting motion>.
>
> Not exactly. Buildworld first builds the toolchain from the source
> tree, then uses that toolchain to build the rest of the system. lsof
> isn't part of the system build; it comes from the ports system.
>
>>> Are you saying you rebuilt kernel and lsof built fine afterwards?
>
> Right. lsof needs to look at kernel structures, so it has to be built
> from the same headers that the kernel was, or it won't know how to
> interpret the data it retrieves.
Thanks, Lowell. That makes sense.
Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
******************************************
WARNING: Check the headers before replying
More information about the freebsd-ports
mailing list