On Mon, 2008-09-15 at 12:38 -0400, [EMAIL PROTECTED] wrote:
> Hi,
> I have a problem compiling kernel 2.6.26-ovz. I've got it by git clone today,
> ---
> $ git log | head -3
> commit aafb4cebb852b897a594675389328c829e7680ea
> Author: OpenVZ team <[EMAIL PROTECTED]>
> Date: Wed Jul 16 17:20:32 2008 +0400
> $ uname -srvmpi
> Linux 2.6.25.14-108.fc9.x86_64 #1 SMP Mon Aug 4 13:46:35 EDT 2008 x86_64
> x86_64 x86_64
> $ git status
> # On branch master
> nothing to commit (working directory clean)
> ---
> I copied /boot/config-2.6.25.14-108.fc9.x86_64 to .config and run make,
> accepting default values for openvz-related parameters.
> I'm getting:
> ---
> $ make
>
> CHK include/linux/version.h
>
> CHK include/linux/utsrelease.h
>
> CALL scripts/checksyscalls.sh
>
> CHK include/linux/compile.h
>
> GEN .version
>
> CHK include/linux/compile.h
>
> UPD include/linux/compile.h
>
> CC init/version.o
>
> LD init/built-in.o
>
> LD .tmp_vmlinux1
>
> kernel/built-in.o: In function `proc_cpuset_show':
>
> /home/seriv/linux-2.6.26-openvz/kernel/cpuset.c:2333: undefined reference to
> `cgroup_path'
> kernel/built-in.o: In function `cpuset_populate':
>
> /home/seriv/linux-2.6.26-openvz/kernel/cpuset.c:1584: undefined reference to
> `cgroup_add_file'
> kernel/built-in.o: In function `validate_change':
>
> /home/seriv/linux-2.6.26-openvz/kernel/cpuset.c:470: undefined reference to
> `cgroup_task_count'
> kernel/built-in.o: In function `move_member_tasks_to_cpuset':
>
> /home/seriv/linux-2.6.26-openvz/kernel/cpuset.c:1781: undefined reference to
> `cgroup_scan_tasks'
> kernel/built-in.o: In function `cpuset_do_move_task':
>
> /home/seriv/linux-2.6.26-openvz/kernel/cpuset.c:1756: undefined reference to
> `cgroup_attach_task'
> kernel/built-in.o: In function `update_cpumask':
>
> /home/seriv/linux-2.6.26-openvz/kernel/cpuset.c:830: undefined reference to
> `cgroup_scan_tasks'
> kernel/built-in.o: In function `update_nodemask':
>
> /home/seriv/linux-2.6.26-openvz/kernel/cpuset.c:970: undefined reference to
> `cgroup_task_count'
> /home/seriv/linux-2.6.26-openvz/kernel/cpuset.c:976: undefined reference to
> `cgroup_task_count'
> /home/seriv/linux-2.6.26-openvz/kernel/cpuset.c:985: undefined reference to
> `cgroup_iter_start'
> /home/seriv/linux-2.6.26-openvz/kernel/cpuset.c:986: undefined reference to
> `cgroup_iter_next'
> /home/seriv/linux-2.6.26-openvz/kernel/cpuset.c:999: undefined reference to
> `cgroup_iter_end'
> kernel/built-in.o: In function `ns_can_attach':
>
> /home/seriv/linux-2.6.26-openvz/kernel/ns_cgroup.c:51: undefined reference to
> `cgroup_is_descendant'
> kernel/built-in.o: In function `ns_create':
>
> /home/seriv/linux-2.6.26-openvz/kernel/ns_cgroup.c:77: undefined reference to
> `cgroup_is_descendant'
> kernel/built-in.o: In function `ns_cgroup_clone':
>
> /home/seriv/linux-2.6.26-openvz/kernel/ns_cgroup.c:29: undefined reference to
> `cgroup_clone'
> make: *** [.tmp_vmlinux1] Error 1
> ---
> Please, advice.
looks like you do not have CONFIG_CGROUPS=y
the cloned kernel should be compiled just fine after 'make defconfig'.
Regards,
Den
_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users