[Devel] kernel/cpt/cpt_dump.c breakage in 2.6.22?

Josip Rodin joy at entuzijast.net
Wed Nov 28 14:37:48 PST 2007


Hi,

Is there a known problem with checkpointing in OpenVZ kernel 2.6.22?
I'm getting the following errors:

  CC [M]  kernel/cpt/cpt_dump.o
kernel/cpt/cpt_dump.c: In function 'check_process_external':
kernel/cpt/cpt_dump.c:129: error: 'struct pid' has no member named 'ns'
kernel/cpt/cpt_dump.c:131: error: 'struct pid' has no member named 'ns'
kernel/cpt/cpt_dump.c:133: error: 'struct pid' has no member named 'ns'
kernel/cpt/cpt_dump.c:171:31: error: macro "find_task_by_pid_ns" requires 2 arguments, but only 1 given
kernel/cpt/cpt_dump.c: In function 'vps_stop_tasks':
kernel/cpt/cpt_dump.c:171: error: 'find_task_by_pid_ns' undeclared (first use in this function)
kernel/cpt/cpt_dump.c:171: error: (Each undeclared identifier is reported only once
kernel/cpt/cpt_dump.c:171: error: for each function it appears in.)
kernel/cpt/cpt_dump.c:184: warning: implicit declaration of function 'virt_pid'
kernel/cpt/cpt_dump.c:199: warning: implicit declaration of function 'process_vgroup'
kernel/cpt/cpt_dump.c:205: warning: implicit declaration of function 'process_vsession'
kernel/cpt/cpt_dump.c:592:30: error: macro "find_task_by_pid_ns" requires 2 arguments, but only 1 given
kernel/cpt/cpt_dump.c: In function 'vps_collect_tasks':
kernel/cpt/cpt_dump.c:592: error: 'find_task_by_pid_ns' undeclared (first use in this function)
kernel/cpt/cpt_dump.c:1129:30: error: macro "find_task_by_pid_ns" requires 2 arguments, but only 1 given
kernel/cpt/cpt_dump.c: In function 'cpt_vps_caps':
kernel/cpt/cpt_dump.c:1129: error: 'find_task_by_pid_ns' undeclared (first use in this function)
make[2]: *** [kernel/cpt/cpt_dump.o] Error 1
make[1]: *** [kernel/cpt] Error 2
make: *** [kernel] Error 2

-- 
     2. That which causes joy or happiness.




More information about the Devel mailing list