Subject: | error: 'CLONE_VM' undeclared |
Does not compile anymore on modern Linux and *BSD systems. Excerpt of compilation log:
...
cc -c -Isrc -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -o src/elfcore.o -fPIC "-I/opt/perl-5.26.2D/lib/5.26.2/x86_64-linux-ld/CORE" src/elfcore.c
src/elfcore.c: In function 'CreatePipeline':
src/elfcore.c:1424:26: error: 'CLONE_VM' undeclared (first use in this function); did you mean 'CTL_VM'?
CLONE_VM|CLONE_UNTRACED|SIGCHLD, &args, 0, 0, 0);
^~~~~~~~
CTL_VM
src/elfcore.c:1424:26: note: each undeclared identifier is reported only once for each function it appears in
make: *** [Makefile:340: src/elfcore.o] Error 1
(/usr/bin/make exited with 512)
...