Hi all! :D I'm having troubles to compile the openvz kernel :( I tryed making the config by my self, making it with " make x86_64_defconfig ", and using this:
http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab053.5/configs/config-2.6.32-042stab053.5.x86_64 config file. (The official from openvz) None works. I also tryed to downloading the sources again. But is the same :S I asked on gentoo forum, but i dont get answers. I hope someone can help me please :P 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 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/sysfs.h:77:0, from include/linux/kobject.h:21, 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/backing-dev.h:11, from mm/truncate.c:11: include/linux/fs.h:1591:24: error: el tipo matriz tiene tipo de elemento incompleto make[1]: *** [mm/readahead.o] Error 1 make[1]: *** Se espera a que terminen otras tareas.... make[1]: *** [mm/truncate.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 mm/shmem.c:24: 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/shmem.c:24: 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]: *** [mm/shmem.o] Error 1 make: *** [fs] Error 2 make: *** [arch/x86] Error 2 make: *** [mm] Error 2 [/quote] I attach my .config file Some ideas? Thank you!
.config
Description: Binary data