Unable to build OpenVZ kernel/2.6.20 [message #11850] |
Mon, 09 April 2007 23:26  |
atlantis
Messages: 5 Registered: April 2007
|
Junior Member |

|
|
After patching my vanilla 2.6.20 kernel, im unable to compile it:
root@Spirit ~/linux-2.6.20 # make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
CC arch/x86_64/kernel/asm-offsets.s
GEN include/asm-x86_64/asm-offsets.h
CC scripts/mod/empty.o
HOSTCC scripts/mod/mk_elfconfig
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/file2alias.o
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTLD scripts/mod/modpost
HOSTCC scripts/kallsyms
HOSTCC scripts/conmakehash
HOSTCC scripts/bin2c
CC init/main.o
In file included from include/bc/beancounter.h:120,
from include/bc/net.h:20,
from include/linux/skbuff.h:335,
from include/linux/netlink.h:138,
from include/linux/genetlink.h:4,
from include/net/genetlink.h:4,
from include/linux/taskstats_kern.h:12,
from init/main.c:43:
include/bc/io_prio.h: In function 'bc_findcreate_cfq_bc':
include/bc/io_prio.h:55: error: dereferencing pointer to incomplete type
include/bc/io_prio.h: In function 'bc_schedule_active':
include/bc/io_prio.h:61: error: dereferencing pointer to incomplete type
include/bc/io_prio.h:61: error: dereferencing pointer to incomplete type
include/bc/io_prio.h: In function '__find_cfq_bc':
include/bc/io_prio.h:72: error: dereferencing pointer to incomplete type
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
root@Spirit ~/linux-2.6.20 #
The unpatched kernel compiles fine.
System is Lunar Linux 1.6.2 (64bit on an Opteron), gcc -v:
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: ../configure --host=x86_64-pc-linux-gnu --enable-languages=c++ --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --enable-__cxa_atexit --enable-threads --disable-nls --enable-target-optspace --with-gnu-ld --with-system-zlib --enable-shared --disable-multilib
Thread model: posix
gcc version 4.1.2
Tryed both, 2.6.20 and 2.6.20.6.
Used patch-ovz002.1-combined.
Any hints?
|
|
|