Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Oct 2005 21:00:35 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        questions@freebsd.org
Subject:   problem compiling lsof
Message-ID:  <17216.33459.260615.437036@jerusalem.litteratus.org>

next in thread | raw e-mail | index | archive | help

	I'm trying to (re)install lsof (under -CURRENT, details below),
and am running into:

(cd lib; make DEBUG="-O" CFGF="-pipe -march=pentium4 -DHASEFFNLINK=i_effnlink -D
HASF_VNODE -DHASCPUMASK_T -DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_
UDEV -DFREEBSDV=7000 -DHASFDESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHAS_
NO_ISO_DEV -DHASIPv6 -DLSOF_VSTR=\"7.0-CURRENT\"")
cc  -pipe -march=pentium4 -DHASEFFNLINK=i_effnlink -DHASF_VNODE -DHASCPUMASK_T -
DHASSBSTATE -DHAS_KVM_VNODE -DHAS_UFS1_2 -DHAS_NO_SI_UDEV -DFREEBSDV=7000 -DHASF
DESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHAS_NO_ISO_DEV -DHASIPv6 -DLSOF
_VSTR="7.0-CURRENT" -I/usr/src/sys -O -c ckkv.c
In file included from ../dlsof.h:300,
                 from ../lsof.h:190,
                 from ckkv.c:43:
/usr/src/sys/fs/devfs/devfs.h:153: error: field `dm_lock' has incomplete type
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.76/lsof_4.76_src/lib.
*** Error code 1

Stop in /usr/ports/sysutils/lsof/work/lsof_4.76/lsof_4.76_src.
*** Error code 1


	So I deketed /usr/src/sys/fs/devfs/devfs.h, ran cvsup, and no
joy.  Is this broken, am I looking at the wrong thing, or have I 
bungled something?


				Robert Huff




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17216.33459.260615.437036>