Hi Tobias,

thank you very much for reporting this problem.

On Sat, Mar 17, 2012 at 07:47:25PM +0100, Tobias Frost wrote:
> In file included from /usr/include/kvm.h:38:0,
>                  from processes.c:96:
> /usr/include/nlist.h:33:2: error: #warning "Deprecated header, use 
> <bsd/nlist.h> or libbsd-overlay.pc instead." [-Werror=cpp]
> cc1: all warnings being treated as errors

The "processes" plugin does not directly include <nlist.h>. It does
include <kvm.h> which in turn includes this header. I don't have access
to a Debian/kFreeBSD machine -- is there some CPP define I need to pass
to make <kvm.h> include the right file? Otherwise another bug should be
opened against the package containing <kvm.h>.

That being said, the "tcpconns" plugin directly includes <nlist.h> on
FreeBSD and I guess it will too on Debian/kFreeBSD. I believe to have
fixed this issue in commit cb2155a, see <http://octo.cx/cb2155a>.

Best regards,
—octo
-- 
collectd – The system statistics collection daemon
Website: http://collectd.org
Google+: http://collectd.org/+
GitHub:  https://github.com/collectd
Twitter: http://twitter.com/collectd

Attachment: signature.asc
Description: Digital signature

Reply via email to