<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,</div><div>&nbsp; &nbsp;I get the latest source code of CRIU from github. When I make it on Ubuntu 14.04 server, it generates some error as follows:</div><div>&nbsp;&nbsp;In file included from /workspace/c_c++/criu/criu/arch/x86/include/asm/types.h:10:0,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from arch/x86/cpu.c:10:</div><div>/workspace/c_c++/criu/criu/arch/x86/include/asm/prlimit.h:11:12: error: conflicting types for ¡®prlimit¡¯</div><div>&nbsp;extern int prlimit(pid_t pid, int resource, const struct rlimit *new_rlimit, struct rlimit *old_rlimit);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^</div><div>In file included from /usr/include/features.h:374:0,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from /usr/include/stdio.h:27,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;from arch/x86/cpu.c:1:</div><div>/usr/include/x86_64-linux-gnu/bits/resource.h:313:12: note: previous declaration of ¡®prlimit¡¯ was here</div><div>&nbsp;extern int __REDIRECT_NTH (prlimit, (__pid_t __pid,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^</div><div>make[2]: *** [arch/x86/cpu.o] Error 1</div><div>make[1]: *** [arch/x86/crtools.built-in.o] Error 2</div><div>make: *** [criu/criu] Error 2</div><div><br></div><div><pre style="width: 994.958px; line-height: 15.5493px;">Thank you. I am looking forward to your reply!</pre><pre style="width: 994.958px; line-height: 15.5493px;">Carl</pre></div><div><br></div></div><br><br><span title="neteasefooter"><p>&nbsp;</p></span>