Problem compiling lsof

Arthur Barlow arthurbarlow at gmail.com
Tue May 25 03:24:50 UTC 2010


On Mon, May 24, 2010 at 5:58 PM, Chuck Swiger <cswiger at mac.com> wrote:

> On May 24, 2010, at 5:57 PM, Arthur Barlow wrote:
> > That doesn't work, which was my point to begin with.  The compile process
> throws an error.
>
> You're abbreviating too much.  :-)
>
> If you want useful feedback, then you ought to provide a little more in the
> way of details-- what error?
>
> --
> -Chuck
>
Chuck,

Fair point.  Here's the error messages:

Stop in /usr/ports/sysutils/lsof.
[root at uranus /usr/ports/sysutils/lsof]# HASPSEUDOFS -DHASNULLFS -DHASIPv6
-DHAS_STRFTIME -DLSOF_VSTR=\"8.0-STABLE\"")
> cc -pipe -march=athlon -fno-strict-aliasing -march=athlon
-DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASSBSTATE -DHAS_KVM_VNODE
-DHAS_UFS1_2 -DHAS_CDEV2PRIV -DHAS_NO_SI_UDEV -DHAS_SYS_SX_H -DHAS_ZFS
-DHAS_V_LOCKF -DHAS_LOCKF_ENTRY -DHAS_NO_6PORT -DHAS_NO_6PPCB
-DFREEBSDV=8000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHASIPv6
-DHAS_STRFTIME -DLSOF_VSTR="8.0-STABLE" -I/usr/src/sys -O2 -c ckkv.c
> In file included from ../dlsof.h:81,
> from ../lsof.h:195,
> from ckkv.c:43:
> /usr/src/sys/sys/conf.h:141: error: expected declaration specifiers or
'...' before 'vm_memattr_t'
> *** Error code 1
>
> Stop in /usr/ports/sysutils/lsof/work/lsof_4.84A.freebsd/lib.
> *** Error code 1
>
> Stop in /usr/ports/sysutils/lsof/work/lsof_4.84A.freebsd.


More information about the freebsd-questions mailing list