OpenVZ Forum


Home » General » Support » Problems compiling kernel 2.6.16
Problems compiling kernel 2.6.16 [message #2161] Thu, 23 March 2006 09:12 Go to next message
chubby is currently offline  chubby
Messages: 5
Registered: March 2006
Junior Member
I'm trying to get openvz working on a Debian Sarge.
I downloaded a pristine 2.6.16 kernel and applied the patch-026test005-combined patch to it. No problem so far.
After a make menuconfig, i compile the kernel but after a while it fails:

LD arch/i386/lib/built-in.o
CC arch/i386/lib/bitops.o
AS arch/i386/lib/checksum.o
CC arch/i386/lib/delay.o
AS arch/i386/lib/getuser.o
CC arch/i386/lib/memcpy.o
CC arch/i386/lib/mmx.o
AS arch/i386/lib/putuser.o
CC arch/i386/lib/strstr.o
CC arch/i386/lib/usercopy.o
AR arch/i386/lib/lib.a
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(.text+0x1bf09): In function `init_ve_proc':
: undefined reference to `proc_fs_type'
kernel/built-in.o(.text+0x1c14c): In function `init_ve_devpts':
: undefined reference to `devpts_fs_type'
kernel/built-in.o(.text+0x1c1c9): In function `init_ve_shmem':
: undefined reference to `tmpfs_fs_type'
kernel/built-in.o(.text+0x1c220): In function `init_ve_sysfs':
: undefined reference to `sysfs_fs_type'
kernel/built-in.o(.text+0x1c271): In function `init_ve_sysfs':
: undefined reference to `class_obj_subsys'
kernel/built-in.o(.text+0x1c27d): In function `init_ve_sysfs':
: undefined reference to `class_obj_subsys'
kernel/built-in.o(.text+0x1c285): In function `init_ve_sysfs':
: undefined reference to `class_obj_subsys'
kernel/built-in.o(.text+0x1c2cf): In function `init_ve_sysfs':
: undefined reference to `class_subsys'
kernel/built-in.o(.text+0x1c2df): In function `init_ve_sysfs':
: undefined reference to `class_subsys'
kernel/built-in.o(.text+0x1c2e9): In function `init_ve_sysfs':
: undefined reference to `class_subsys'
kernel/built-in.o(.text+0x1c338): In function `init_ve_sysfs':
: undefined reference to `net_class'
kernel/built-in.o(.text+0x1c33f): In function `init_ve_sysfs':
: undefined reference to `net_class'
kernel/built-in.o(.text+0x1c34a): In function `init_ve_sysfs':
: undefined reference to `net_class'
make: *** [.tmp_vmlinux1] Fout 1


What could be causing this?

Thanks
Re: Problems compiling kernel 2.6.16 [message #2165 is a reply to message #2161] Thu, 23 March 2006 11:14 Go to previous messageGo to next message
dim is currently offline  dim
Messages: 344
Registered: August 2005
Senior Member
It looks like you configure CONFIG_VECALLS=y and CONFIG_PROC_FS=m
If so, we neeed to correct our config options dependencies.


http://static.openvz.org/openvz_userbar_en.gif
Re: Problems compiling kernel 2.6.16 [message #2167 is a reply to message #2165] Thu, 23 March 2006 15:54 Go to previous message
chubby is currently offline  chubby
Messages: 5
Registered: March 2006
Junior Member
I checked and i have these settings:

CONFIG_VE=y
CONFIG_VE_CALLS=y
CONFIG_VE_NETDEV=y
CONFIG_VE_IPTABLES=y
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y

I've attached my config so you can check it if you want.
  • Attachment: .config
    (Size: 36.38KB, Downloaded 192 times)
Previous Topic: Can I create a template from an updated VPS?
Next Topic: *SOLVED* VPS automatic reboot at 4:30 a.m.???
Goto Forum:
  


Current Time: Tue Aug 06 01:19:05 GMT 2024

Total time taken to generate the page: 0.03368 seconds