pcp
[Top] [All Lists]

Re: [pcp] build breakage in linux pmda

To: Mark Goodwin <mgoodwin@xxxxxxxxxx>, PCP <pcp@xxxxxxxxxxx>
Subject: Re: [pcp] build breakage in linux pmda
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed, 08 Jul 2015 16:54:58 +1000
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <559CA908.4010502@xxxxxxxxxx>
References: <559CA6F1.7040801@xxxxxxxxxxxxxxxx> <559CA908.4010502@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
On 08/07/15 14:37, Mark Goodwin wrote:
On 07/08/2015 02:28 PM, Ken McDonell wrote:
This has to be a regression based on some very recent commits ...

namespaces.c: In function âcontainer_closeâ:
namespaces.c:236: error: âroot_fdsetâ undeclared (first use in this
function)
namespaces.c:236: error: (Each undeclared identifier is reported only
once
namespaces.c:236: error: for each function it appears in.)

Seen on vm07        3.10.6   x86_64  Debian 6.0.10


#if defined(HAVE_SETNS)
static int root_fdset[LINUX_NAMESPACE_COUNT];
...

That must be a configure issue, debian surely has setns(2) ?

Nope not in Debian 6.0.10 ... this is a Linux 2.6 kernel base ... setns() seems to require Linux 3.8 or later.

kenj@vm07:~/src/pcp/src/include$ grep -ri setns *
pcp/config.h:/* #undef HAVE_SETNS */
pcp/config.h.in:#undef HAVE_SETNS
kenj@vm07:~/src/pcp/src/include$ man setns
No manual entry for setns

I am _still_ of the view that the PCP code should compile correctly (albeit with functionality disabled) under these circumstances.

<Prev in Thread] Current Thread [Next in Thread>