Date: Mon, 03 Oct 2005 01:57:09 -0000 From: "Matt Emmerton" <matt@gsicomp.on.ca> To: "Robert Huff" <roberthuff@rcn.com>, <questions@freebsd.org> Subject: Re: problem compiling lsof Message-ID: <005a01c60f48$4bc19e80$1200a8c0@gsicomp.on.ca> References: <17216.33459.260615.437036@jerusalem.litteratus.org>
next in thread | previous 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 -D HAS_ > 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 -D HASF > DESCFS=2 -DHASPSEUDOFS -DHASNULLFS -DHAS9660FS -DHAS_NO_ISO_DEV -DHASIPv6 -D LSOF > _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? It looks like phk changed a lot of the internals of devfs around in early September; the lsof port has likely not kept pace. Line 153 of devfs.h appears to be "struct sx dm_lock;" -- perhaps pulling in the proper header to define "struct sx" might make things work again? -- Matt Emmerton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005a01c60f48$4bc19e80$1200a8c0>