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 next message
Albert Czarnecki is currently offline  Albert Czarnecki
Messages: 4
Registered: September 2007
Junior Member
From: openvz.org
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] Bd 1
make[2]: *** [kernel/cpt] Bd 2
make[1]: *** [kernel] Bd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-2.6.22.6'
make: *** [debian/stamp-build-kernel] Bd 2

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

Albert
Re: Kernel 2.6.22-6 and patch-ovz002.1-combined.gz [message #16423 is a reply to message #16422] Thu, 06 September 2007 08:18 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

From: openvz.org
2.6.22 ovz kernel is in early alpha, and chechpointing functionality is
not yet fully ported. For now, you have to deselect it if you want to
try compiling that kernel.

Also note the latest 2.6.22 patches can be found in git.openvz.org.

Albert Czarnecki wrote:
> 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
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 19 03:27:20 GMT 2019