Re: Unable to build OpenVZ kernel/2.6.20 [message #12126 is a reply to message #11850] |
Wed, 18 April 2007 06:28   |
atlantis
Messages: 5 Registered: April 2007
|
Junior Member |

|
|
Tryed with last version from git (004)
Without your patch:
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:338,
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
with your patch:
CC arch/x86_64/ia32/ia32_signal.o
CC arch/x86_64/ia32/tls32.o
CC arch/x86_64/ia32/ia32_binfmt.o
arch/x86_64/ia32/ia32_binfmt.c:50:1: warning: "ELF_ET_DYN_BASE" redefined
In file included from include/linux/elf.h:7,
from include/linux/module.h:15,
from include/linux/device.h:20,
from include/linux/genhd.h:61,
from include/linux/blkdev.h:6,
from include/linux/cfq-iosched.h:6,
from include/bc/io_prio.h:18,
from include/bc/beancounter.h:120,
from include/bc/vmpages.h:15,
from arch/x86_64/ia32/ia32_binfmt.c:29:
include/asm/elf.h:93:1: warning: this is the location of the previous definition
arch/x86_64/ia32/ia32_binfmt.c:60:1: warning: "USE_ELF_CORE_DUMP" redefined
include/asm/elf.h:85:1: warning: this is the location of the previous definition
arch/x86_64/ia32/ia32_binfmt.c:64: error: conflicting types for 'elf_greg_t'
include/asm/elf.h:32: error: previous declaration of 'elf_greg_t' was here
arch/x86_64/ia32/ia32_binfmt.c:66:1: warning: "ELF_NGREG" redefined
include/asm/elf.h:34:1: warning: this is the location of the previous definition
arch/x86_64/ia32/ia32_binfmt.c:67: error: conflicting types for 'elf_gregset_t'
include/asm/elf.h:35: error: previous declaration of 'elf_gregset_t' was here
arch/x86_64/ia32/ia32_binfmt.c:120:1: warning: "ELF_CORE_COPY_REGS" redefined
include/asm/elf.h:99:1: warning: this is the location of the previous definition
arch/x86_64/ia32/ia32_binfmt.c:141:1: warning: "__ASM_X86_64_ELF_H" redefined
include/asm/elf.h:2:1: warning: this is the location of the previous definition
arch/x86_64/ia32/ia32_binfmt.c:146: error: conflicting types for 'elf_fpregset_t'
include/asm/elf.h:37: error: previous declaration of 'elf_fpregset_t' was here
arch/x86_64/ia32/ia32_binfmt.c:209:1: warning: "ELF_EXEC_PAGESIZE" redefined
include/asm/elf.h:86:1: warning: this is the location of the previous definition
arch/x86_64/ia32/ia32_binfmt.c:211:1: warning: "ELF_PLATFORM" redefined
include/asm/elf.h:144:1: warning: this is the location of the previous definition
arch/x86_64/ia32/ia32_binfmt.c:212:1: warning: "SET_PERSONALITY" redefined
include/asm/elf.h:147:1: warning: this is the location of the previous definition
arch/x86_64/ia32/ia32_binfmt.c:234:1: warning: "ELF_PLAT_INIT" redefined
include/asm/elf.h:66:1: warning: this is the location of the previous definition
make[1]: *** [arch/x86_64/ia32/ia32_binfmt.o] Error 1
make: *** [arch/x86_64/ia32] Error 2
Im quite unshure who to handle your git repositorie, is linux-2.6.20 a complete, prepatched kernel?
|
|
|