[CRIU] [PATCH 1/4] Ubuntu 12.04 build fixes
Cyrill Gorcunov
gorcunov at gmail.com
Thu Jul 10 15:27:05 PDT 2014
On Thu, Jul 10, 2014 at 05:22:51PM -0400, Christopher Covington wrote:
>
> I'm not seeing this one any more. Apologies for that. I'll send updated patches.
Hi Christopher! Cool, thanks!
>
> > diff --git a/test/zdtm/lib/zdtmtst.h b/test/zdtm/lib/zdtmtst.h
> > index e465e26..18eb082 100644
> > --- a/test/zdtm/lib/zdtmtst.h
> > +++ b/test/zdtm/lib/zdtmtst.h
> > @@ -7,6 +7,10 @@
> > # define PAGE_SIZE 4096
> > #endif
> > +#ifndef PR_SET_CHILD_SUBREAPER
> > +# define PR_SET_CHILD_SUBREAPER 36
> > +#endif
> > +
> > /* set up test */
> > extern void test_ext_init(int argc, char **argv);
> > extern void test_init(int argc, char **argv);
>
> During x86_64 build on Ubuntu 12.04:
>
> session02.c: In function ‘handle_command’:
> session02.c:142:13: error: ‘PR_SET_CHILD_SUBREAPER’ undeclared (first use in
> this function)
> session02.c:142:13: note: each undeclared identifier is reported only once for
> each function it appears in
> session03.c: In function ‘handle_command’:
> session03.c:175:13: error: ‘PR_SET_CHILD_SUBREAPER’ undeclared (first use in
> this function)
> session03.c:175:13: note: each undeclared identifier is reported only once for
> each function it appears in
> session03.c: In function ‘main’:
> session03.c:265:12: error: ‘PR_SET_CHILD_SUBREAPER’ undeclared (first use in
> this function)
Aha, I see, thanks!
More information about the CRIU
mailing list