OpenVZ Forum


Home » Mailing lists » Users » Kernel 2.6.22-6 and patch-ovz002.1-combined.gz
Kernel 2.6.22-6 and patch-ovz002.1-combined.gz [message #16422] Thu, 06 September 2007 06:36 Go to previous message
Albert Czarnecki is currently offline  Albert Czarnecki
Messages: 4
Registered: September 2007
Junior Member
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
 
Read Message
Read Message
Previous Topic: OpenVZ CentOS 5 kernel (2.6.18-8.1.8.el5.028stab039.1) and squashfs
Next Topic: linux-2.6.22 from git.openvz.org
Goto Forum:
  


Current Time: Mon Aug 18 16:01:25 GMT 2025

Total time taken to generate the page: 0.34732 seconds