Balage n00b
Joined: 10 Jan 2008 Posts: 18 Location: Hungary
|
Posted: Sat Oct 18, 2008 7:20 am Post subject: can't compile openvz-sources on hardened x86_64 stage |
|
|
Hello everyone!
I'd like to use the stable openvz-sources from the portage, but I cannot compile it. I have tried to complie with genkernel and manually.
The results the same.
I'v got this error. This is the results of "make -j1".
Code: |
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86_64/Kconfig
CHK include/linux/version.h
UPD include/linux/version.h
CHK include/linux/utsrelease.h
UPD include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86_64
CC arch/x86_64/kernel/asm-offsets.s
GEN include/asm-x86_64/asm-offsets.h
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.c
SHIPPED scripts/genksyms/parse.h
SHIPPED scripts/genksyms/keywords.c
HOSTCC scripts/genksyms/lex.o
SHIPPED scripts/genksyms/parse.c
HOSTCC scripts/genksyms/parse.o
HOSTLD scripts/genksyms/genksyms
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/pnmtologo
HOSTCC scripts/conmakehash
HOSTCC scripts/bin2c
CC init/main.o
In file included from include/linux/compat.h:14,
from include/linux/quota.h:325,
from include/linux/syscalls.h:65,
from include/asm/unistd.h:776,
from include/linux/unistd.h:11,
from include/asm/seccomp.h:11,
from include/linux/seccomp.h:10,
from include/linux/sched.h:78,
from include/linux/module.h:9,
from init/main.c:15:
include/asm/compat.h: In function `compat_alloc_user_space':
include/asm/compat.h:201: error: dereferencing pointer to incomplete type
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
|
Here are my emerge --info and my kernel config.
I am using a hardened stage3 from 2008.0. The stage is made up-to-date. I recompiled the whole world (emerge -aveu system && emerge -aveu world) to use opteron CFLAGS. Now I just need a kernel.
I have an another 64bit machine, which is a EMT64 machine. There is no problem with that, the kernel compiles fine.
Any hints? |
|