Message info
 
To:Florian Forster From:Tobias Frost Subject:Bug#664429: collectd: FTBFS on kfreebsd-amd64 and kfreebsd-i386 Date:Sun, 18 Mar 2012 16:58:49 +0100
 


Hallo Florian,

Unfortunatly I also do not have a BSD installation, but I'm currently
creating a QEMU image for it...

According packagaes.d.o, <kvm.h> is in the package libkvm-dev for
kfreebsd-amd64 and kfreebsd-i386 [1], and briefly checking it, it
directly includes <nlist.h>. (See bug #634955)

Of course,there might be also a work around from your side, like
directly including bsd/nlist.h before including kvm.h.
I'll check if that works when the QEMU installation is ready.

Tobias

[1]
http://packages.debian.org/search?searchon=contents&keywords=kvm.h&mode=path&suite=stable&arch=any

Am Sonntag, den 18.03.2012, 09:17 +0100 schrieb Florian Forster:
> 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





--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org