OpenVZ Forum


Home » General » Support » Cant install kernel on gentoo (Fail when trying to compile the kernel on gentoo.)
icon9.gif  Cant install kernel on gentoo [message #51569] Thu, 31 July 2014 03:17
elnll002 is currently offline  elnll002
Messages: 1
Registered: July 2014
Location: localhost
Junior Member
From: *200-117-118.telecom.net.ar
Hi all! Very Happy
I'm having troubles to compile the openvz kernel on gentoo Sad

I "install" the kernel with "emerge openvz-sources".
It decompress the kernel sources on /usr/src. I go inside and try to compile it, but fails :/

I tryed making the config by my self, making it with make x86_64_defconfig, and using the config from openvz site.
www.downlo ad.openvz.org/kernel/branches/rhel6-2.6.32/current/configs/c onfig-2.6.32-042stab092.3.debug.x86_64

None works. I also tryed to downloading the sources again.

This is the error:

Quote:

scripts/kallsyms.c: En la función 'read_symbol':
scripts/kallsyms.c:112:9: aviso: se descarta el valor de devolución de 'fgets', se declaró con el atributo warn_unused_result [-Wunused-result]
scripts/mod/file2alias.c:797:12: aviso: se define 'do_x86cpu_entry' pero no se usa [-Wunused-function]
scripts/mod/modpost.c: En la función 'get_markers':
scripts/mod/modpost.c:1563:12: aviso: se descarta el valor de devolución de 'asprintf', se declaró con el atributo warn_unused_result [-Wunused-result]
scripts/mod/modpost.c: En la función 'add_marker':
scripts/mod/modpost.c:1993:10: aviso: se descarta el valor de devolució HOSTLD scripts/genksyms/genksyms
HOSTLD scripts/mod/modpost
CC kernel/bouIn file included from kernel/sched.c:2184:0:
kernel/sched_fair.c: En la función 'nr_iowait_dec_fair':
kernel/sched_fair.c:3541:23: aviso: variable 'se' sin usar [-Wunused-variable]
kernel/sched_fair.c: En la función 'nr_iowait_inc_fair':
kernel/sched_fair.c:3572:23: aviso: variable 'se' sin usar [-Wunused-variable]
In file included from kernel/sched.c:2187:0:
kernel/sched_autogroup.c: En la función 'autogroup_move_group':
kernel/sched_autogroup.c:145:4: error: expected 'while' before 'while_each_thread'
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2
make: *** Se espera a que terminen otras tareas....
In file included from include/linux/kmemtrace.h:12:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:203,
from include/linux/percpu.h:5,
from include/linux/percpu_counter.h:13,
from include/linux/fs.h:452,
from include/linux/sysfs.h:77,
from include/linux/kobject.h:21,
from include/ CC arch/x86/mm/pageattr.o
CC arch/x86/mm/mmap.o
CC arch/x86/mm/pat.o
CC arch/x86/mm/pgtable.o
AS arch/x86/vdso/vdso-note.o
CC arch/x86/vdso/vclock_gettime.o
CC arch/x86/mm/physaddr.o
CC fs/super.o
CC fs/char_dev.o
CC fs/stat.o
CC fs/exec.o
CC fs/pipe.o
CC fs/namei.o
CC arch/x86/vdso/vgetcpu.o
CC arch/x86/vdso/vvar.o
LDS arch/x86/vdso/vdso-rhel5.lds
LDS arch/x86/vdso/vdso32/vdso32.lds
AS arch/x86/vdso/vdso32/note.o
CC mm/mempool.o
CC mm/oom_kill.o
AS arch/x86/vdso/vdso32/int80.o
AS arch/x86/vdso/vdso32/syscall.o
AS arch/x86/vdso/vdso32/sysenter.o
CC arch/x86/vdso/vdso32-setup.o
CC mm/fadvise.o
CC mm/maccess.o
CC mm/page_alloc.o
CC mm/page-writeback.o
CC mm/readahead.o
CC mm/swap.o
CC mm/truncate.o
CC mm/vmscan.o
CC mm/shmem.o
VDSO arch/x86/vdso/vdso.so.dbg
VDSO arch/x86/vdso/vdso-rhel5.so.dbg
VDSO arch/x86/vdso/vdso32-int80.so.dbg
VDSO arch/x86/vdso/vdso32-syscall.so.dbg
VDSO arch/x86/vdso/vdso32-sysenter.so.dbg
VDSOSYM arch/x86/vdso/vdso-syms.lds
VDSOSYM arch/x86/vdso/vdso-rhel5-syms.lds
VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
VDSOSYM arch/x86/vdso/vdso32-syscall-syms.lds
OBJCOPY arch/x86/vdso/vdso.so
OBJCOPY arch/x86/vdso/vdso32-int80.so
OBJCOPY arch/x86/vdso/vdso32-syscall.so
OBJCOPY arch/x86/vdso/vdso-rhel5.so
OBJCOPY arch/x86/vdso/vdso32-sysenter.so
VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
AS arch/x86/vdso/vdso.o
AS arch/x86/vdso/vdso32.o
AS arch/x86/vdso/vdso-rhel5.o
VDSOSYM arch/x86/vdso/vdso32-syms.lds
LD arch/x86/vdso/built-in.o
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
ude/linux/sysfs.h:158:15: error: el campo 'ia_iattr' tiene tipo de dato incompleto
In file included from include/linux/kmemtrace.h:12:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:203,
from include/linux/percpu.h:5,
from include/linux/percpu_counter.h:13,
from include/linux/fs.h:452,
from include/linux/highmem.h:4,
from arch/x86/mm/pageattr.c:5:
include/trace/events/kmem.h:528:1: aviso: se declaró 'struct address_space' dentro de la lista de parámetros [activado por defecto]
include/trace/events/kmem.h:528:1: aviso: su ámbito es solamente esta definición o declaración, lo cual probablemente no es lo que desea [activado por defecto]
include/trace/events/kmem.h:528:1: aviso: se declaró 'struct address_space' dentro de la lista de parámetros [activado por defecto]
include/trace/events/kmem.h:528:1: aviso: se declaró 'struct address_space' dentro de la lista de parámetros [activado por defecto]
include/trace/events/kmem.h:528:1: aviso: se declaró 'struct address_space' dentro de la lista de parámetros [activado por defecto]
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:12,
from include/linux/slab.h:203,
from include/linux/percpu.h:5,
from include/linux/percpu_counter.h:13,
from include/linux/fs.h:452,
from include/linux/debugfs.h:18,
from arch/x86/mm/pat.c:12:
include/linux/sysfs.h:158:15: error: el campo 'ia_iattr' tiene tipo de dato incompleto
In file included from include/linux/kmemtrace.h:12:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:203,
from include/linux/percpu.h:5,
from include/linux/percpu_counter.h:13,
from include/linux/fs.h:452,
from include/linux/debugfs.h:18,
from arch/x86/mm/pat.c:12:
include/trace/events/kmem.h:528:1: aviso: se declaró 'struct address_space' dentro de la lista de parámetros [activado por defecto]
include/trace/events/kmem.h:528:1: aviso: su ámbito es solamente esta definición o declaración, lo cual probablemente no es lo que desea [activado por defecto]
include/trace/events/kmem.h:528:1: aviso: se declaró 'struct address_space' dentro de la lista de parámetros [activado por defecto]
include/trace/events/kmem.h:528:1: aviso: se declaró 'struct address_space' dentro de la lista de parámetros [activado por defecto]
include/trace/events/kmem.h:528:1: aviso: se declaró 'struct address_space' dentro de la lista de parámetros [activado por defecto]
make[1]: *** [arch/x86/kernel] Error 2
make[1]: *** Se espera a que terminen otras tareas....
make[2]: *** [arch/x86/mm/pageattr.o] Error 1
make[2]: *** Se espera a que terminen otras tareas....
make[2]: *** [arch/x86/mm/pat.o] Error 1
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:12,
from include/linux/slab.h:203,
from include/linux/percpu.h:5,
from include/linux/percpu_counter.h:13,
from include/linux/fs.h:452,
from fs/char_dev.c:8:
include/linux/sysfs.h:158:15: error: el campo 'ia_iattr' tiene tipo de dato incompleto
In file included from include/linux/kmemtrace.h:12:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:203,
from include/linux/percpu.h:5,
from include/linux/percpu_counter.h:13,
from include/linux/fs.h:452,
from fs/char_dev.c:8:
include/trace/events/kmem.h:528:1: aviso: se declaró 'struct address_space' dentro de la lista de parámetros [activado por defecto]
include/trace/events/kmem.h:528:1: aviso: su ámbito es solamente esta definición o declaración, lo cual probablemente no es lo que desea [activado por defecto]
include/trace/events/kmem.h:528:1: aviso: se declaró 'struct address_space' dentro de la lista de parámetros [activado por defecto]
include/trace/events/kmem.h:528:1: aviso: se declaró 'struct address_space' dentro de la lista de parámetros [activado por defecto]
include/trace/events/kmem.h:528:1: aviso: se declaró 'struct address_space' dentro de la lista de parámetros [activado por defecto]
make[1]: *** [fs/char_dev.o] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make[1]: *** [arch/x86/mm] Error 2
In file included from include/linux/kobject.h:21:0,
from include/linux/slub_def.h:12,
from include/linux/slab.h:203,
from include/linux/percpu.h:5,
from include/linux/percpu_counter.h:13,
from include/linux/fs.h:452,
from mm/readahead.c:11:
include/linux/sysfs.h:158:15: error: el campo 'ia_iattr' tiene tipo de dato incompleto
In file included from include/linux/kmemtrace.h:12:0,
from include/linux/slub_def.h:13,
from include/linux/slab.h:203,
from include/linux/percpu.h:5,
from include/linux/percpu_counter.h:13,
from include/linux/fs.h:452,
from mm/readahead.c:11:
include/trace/events/kmem.h:528:1: aviso: se declaró 'struct address_space' dentro de la lista de parámetros [activado por defecto]
include/trace/events/kmem.h:528:1: aviso: su ámbito es solamente esta definición o declaración, lo cual probablemente no es l
...

  • Attachment: .config
    (Size: 65.71KB, Downloaded 141 times)
Previous Topic: Openvz + bonding + vlan tagged howto
Next Topic: Looking Help/Informations on VPS+VPN on OVH under OpenVZ
Goto Forum:
  


Current Time: Mon Jul 22 15:50:31 GMT 2019