Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Sep 2009 22:58:25 -0500
From:      "Larry Rosenman" <ler@lerctr.org>
To:        "'Robert Huff'" <roberthuff@rcn.com>, "'Lowell Gilbert'" <freebsd-ports-local@be-well.ilk.org>
Cc:        freebsd-ports@freebsd.org
Subject:   RE: lsof won't build
Message-ID:  <005601ca39a6$a0dd6a20$e2983e60$@org>
In-Reply-To: <19125.27730.939946.690659@jerusalem.litteratus.org>
References:  <AFAFEC417BA4553D76CE1E64@Macintosh-2.local>	<19125.7112.336613.902328@jerusalem.litteratus.org>	<F32849953E3C729353C762ED@Macintosh-2.local>	<19125.15684.498698.855972@jerusalem.litteratus.org>	<4463bemvgp.fsf@be-well.ilk.org> <19125.27730.939946.690659@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
(pardon the top-post, lousy work email client)

Also, some of the kernel structures lsof needs aren't exported to
/usr/include.

The best thing to do when lsof won't build is to make sure you have done a
make buildworld & make installworld
with the same sources that are in /usr/src, and match the running kernel.

Thanks,
Larry Rosenman
sysutils/lsof maintainer.


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 512-248-2683                E-Mail: ler@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893

-----Original Message-----
From: owner-freebsd-ports@freebsd.org
[mailto:owner-freebsd-ports@freebsd.org] On Behalf Of Robert Huff
Sent: Saturday, September 19, 2009 6:42 PM
To: Lowell Gilbert
Cc: freebsd-ports@freebsd.org
Subject: Re: lsof won't build


Lowell Gilbert writes:

>  >>  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.

	And it finds those not in /usr/include - which, as I understand
things, will in a correctly configured system definitionally match
what's in the running kernel - but in /usr/src, for which such an
expectation is wobbly?


					Robert Huff


_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005601ca39a6$a0dd6a20$e2983e60$>