[opensuse] UML kernel on opensuse 10.0
Hi, I'm trying to build a uml kernel in suse10, but either I'm doing something wrong or it is broken. Any hint? kernel is current 2.6.13-15.11 make menuconfig ARCH=um make linux ARCH=um CHK /usr/src/linux-2.6.13-15.11/include/linux/version.h CHK arch/um/user-offsets.h make[1]: `arch/um/sys-i386/util/mk_sc' está actualizado. CHK arch/um/include/skas_ptregs.h CHK arch/um/include/sysdep-i386/sc.h CHK arch/um/include/user_constants.h gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-alia sing -fno-common -ffreestanding -O2 -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -D__arch_um __ -DSUBARCH=\"i386\" -Iarch/um/include -I/usr/src/linux-2.6.13-15.11/arch/um/kernel/skas/include -Dvmap=k ernel_vmap -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask -fno-unit-at-a-time -U__i386__ -Ui386 -D_ LARGEFILE64_SOURCE -Wdeclaration-after-statement -Wno-pointer-sign -nostdinc -isystem /usr/lib/gcc/i586-su se-linux/4.0.2/include -D__KERNEL__ -Iinclude -S -o arch/um/kernel-offsets.s arch/um/sys-i386/kernel-offse ts.c In file included from include/asm/thread_info.h:17, from include/linux/thread_info.h:21, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from arch/um/sys-i386/kernel-offsets.c:3: include/asm/processor.h:69: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function) include/asm/processor.h:69: error: requested alignment is not a constant In file included from include/linux/sched.h:12, from arch/um/sys-i386/kernel-offsets.c:3: include/linux/jiffies.h:27:5: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:29:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:31:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:33:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:35:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:37:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:39:7: warning: "CONFIG_HZ" is not defined include/linux/jiffies.h:42:3: error: #error You lose. .... nclude/linux/jiffies.h:416:6: error: division by zero in #if include/linux/jiffies.h: In function ‘jiffies_64_to_clock_t’: include/linux/jiffies.h:417: error: ‘CONFIG_HZ’ undeclared (first use in this function) In file included from include/linux/slab.h:88, from include/linux/percpu.h:4, from include/linux/sched.h:34, from arch/um/sys-i386/kernel-offsets.c:3: include/linux/kmalloc_sizes.h:5:5: warning: "CONFIG_X86_L1_CACHE_SHIFT" is not defined include/linux/kmalloc_sizes.h:9:5: warning: "CONFIG_X86_L1_CACHE_SHIFT" is not defined arch/um/sys-i386/kernel-offsets.c: In function ‘foo’: arch/um/sys-i386/kernel-offsets.c:20: error: ‘struct thread_struct’ has no member named ‘arch’ In file included from arch/um/sys-i386/kernel-offsets.c:24: arch/um/include/common-offsets.h:3: error: ‘struct thread_struct’ has no member named ‘regs’ make: *** [arch/um/kernel-offsets.s] Error 1 -- Don't see the world through a window, be open{source}minded, and be free :-) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Miguel Angel Alvarez