[CRIU] make zdtm broken in criu-dev?

Adrian Reber adrian at lisas.de
Tue Apr 4 02:56:59 PDT 2017


I get the following running make zdtm in criu-dev:

$ make zdtm 
make[1]: Nothing to be done for `all'.
make[1]: `images/built-in.o' is up to date.
make[1]: `compel/plugins/std.lib.a' is up to date.
make[1]: `compel/plugins/fds.lib.a' is up to date.
make[1]: `compel/libcompel.a' is up to date.
make[1]: `compel/compel-host-bin' is up to date.
make[1]: Nothing to be done for `all'.
make[1]: `soccr/libsoccr.a' is up to date.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
make[2]: `lib/c/built-in.o' is up to date.
  GEN      magic.py
make[1]: Entering directory `/home/criu/test/zdtm'
make -C lib all
make[2]: Entering directory `/home/criu/test/zdtm/lib'
 CC        test.o
test.c:1:0: error: "_GNU_SOURCE" redefined [-Werror]
 #define _GNU_SOURCE
 ^
<command-line>:0:0: note: this is the location of the previous definition
cc1: all warnings being treated as errors
make[2]: *** [test.o] Error 1
make[2]: Leaving directory `/home/criu/test/zdtm/lib'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/home/criu/test/zdtm'
make: *** [zdtm] Error 2


		Adrian


More information about the CRIU mailing list