EmbLogic's Blog

kernel compilation error

while compiling kernel 2.6.27.62 following error is generated

CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
CC [M] arch/x86/kvm/svm.o
In file included from include/linux/kvm_host.h:21:0,
from arch/x86/kvm/svm.c:16:
include/linux/kvm.h:240:9: error: duplicate member ‘padding’
make[1]: *** [arch/x86/kvm/svm.o] Error 1
make: *** [arch/x86/kvm] Error 2

how can i remove it ???any idea??

3 Responses to kernel compilation error

  1. currently using fedora 17 with
    kernel 3.4.0-1.fc17.i686

  2. now i was trying to compile new kernel v2.6.32.59 but their is a new error.

    from include/linux/sched.h:56,
    from arch/x86/kernel/ptrace.c:11:
    /usr/src/linux-2.6.32.59/arch/x86/include/asm/ptrace.h:146:13: note: previous declaration of ‘syscall_trace_leave’ was here
    make[2]: *** [arch/x86/kernel/ptrace.o] Error 1
    make[1]: *** [arch/x86/kernel] Error 2
    make: *** [arch/x86] Error 2

  3. naresh says:

    I want to compile new kernel v2.6.9 a error occur as

    arch/i386/kernel/process.c: Assembler messages:
    arch/i386/kernel/process.c:378: Error: operand type mismatch for `mov’
    arch/i386/kernel/process.c:379: Error: operand type mismatch for `mov’
    arch/i386/kernel/process.c:455: Error: operand type mismatch for `mov’
    arch/i386/kernel/process.c:456: Error: operand type mismatch for `mov’
    include/linux/elfcore.h:92: Error: operand type mismatch for `mov’
    include/linux/elfcore.h:92: Error: operand type mismatch for `mov’
    arch/i386/kernel/process.c:577: Error: operand type mismatch for `mov’
    arch/i386/kernel/process.c:578: Error: operand type mismatch for `mov’
    arch/i386/kernel/process.c:585: Error: operand type mismatch for `mov’
    arch/i386/kernel/process.c:586: Error: operand type mismatch for `mov’
    make[1]: *** [arch/i386/kernel/process.o] Error 1
    make: *** [arch/i386/kernel] Error 2

Leave a Reply to naresh Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>