Hi

I trying compiling kernel 2.6.22-6 and patch patch-ovz002.1-combined.gz <http://download.openvz.org/kernel/branches/2.6.22/2.6.22-ovz002.1/patches//patch-ovz002.1-combined.gz> but I having some error

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[3]: *** [kernel/cpt/cpt_dump.o] Błąd 1
make[2]: *** [kernel/cpt] Błąd 2
make[1]: *** [kernel] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.22.6'
make: *** [debian/stamp-build-kernel] Błąd 2

gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) System is a debian etch 4.0 /

Albert
_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to