[collectd] [PATCH] Make tcpconns run on OpenBSD
Michael Stapelberg
michael at stapelberg.de
Tue Aug 19 14:35:24 CEST 2008
Hi octo,
* [19.08.08 10:04]:
> the configure script now checks for the `kvm_getprocs',
> `kvm_getswapinfo', and `kvm_nlist' functions and basically treats them
> as different libraries. If everything works as expected, the
> `processes', `swap', and `tcpconns' plugins should now be automatically
> enabled if the kvm library provides the necessary functions.
Not differently enough, it seems. I now get the following errors:
processes.c: In function `ps_read':
processes.c:1215: error: structure has no member named `ki_pid'
processes.c:1219: error: structure has no member named `ki_numthreads'
processes.c:1221: error: structure has no member named `ki_rssize'
processes.c:1223: error: structure has no member named `ki_rusage'
processes.c:1225: error: structure has no member named `ki_rusage'
processes.c:1228: error: structure has no member named `ki_rusage'
processes.c:1230: error: structure has no member named `ki_rusage'
processes.c:1232: error: structure has no member named `ki_rusage'
processes.c:1234: error: structure has no member named `ki_rusage'
processes.c:1236: error: structure has no member named `ki_stat'
processes.c:1242: error: `SWAIT' undeclared (first use in this function)
processes.c:1242: error: (Each undeclared identifier is reported only once
processes.c:1242: error: for each function it appears in.)
processes.c:1243: error: `SLOCK' undeclared (first use in this function)
processes.c:1247: error: structure has no member named `ki_comm'
> I've pulled your changes into the master branch of the Git repository.
> Could you give it a try and let me know if it works for you?
Furthermore, it still doesn't enable the cpu-module by default.
Best regards,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080819/d2eeb719/attachment.pgp
More information about the collectd
mailing list