Subject: Re: lsof won't build
To: Steven M. Bellovin <smb@cs.columbia.edu>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: tech-pkg
Date: 11/06/2005 14:55:02
Compiles fine on my i386 -current (buf.h is 1.83, so probably the
problem is elsewhere).

Lsof is  -4.76.3.99.10, the system is about a week old:

2005/11/6, Steven M. Bellovin <smb@cs.columbia.edu>:
> On an up-to-date -current system with up-to-date pkgsrc, I can't build
> lsof.  It complains:
>
> In file included from ../dlsof.h:73, lsof-4.76.3.99.10
>                  from ../lsof.h:190,
>                  from dvch.c:43:
> /usr/include/sys/buf.h:83:27: sys/workqueue.h: No such file or directory

There should be sys/workqueue.h (v.1.1 as of  29/10/2005).

> In file included from ../dlsof.h:73,
>                  from ../lsof.h:190,
>                  from dvch.c:43:
> /usr/include/sys/buf.h:122: error: field `u_work' has incomplete type
>
> I suspect this is due to some changes in buf.h 1.83, but I'm less clear
> on what to do about it, given that this is a pkgsrc problem.
>
>                 --Steven M. Bellovin, http://www.cs.columbia.edu/~smb
>
>
>