EmbLogic's Blog

kernel compilation error

In file included from /usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/vm86.h:130:0,
from /usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/processor.h:10,
from /usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/thread_info.h:22,
from include/linux/thread_info.h:56,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from arch/x86/kernel/ptrace.c:8:
/usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/ptrace.h:146:13: note: previous declaration of ‘syscall_trace_enter’ was here
arch/x86/kernel/ptrace.c:1411:34: error: conflicting types for ‘syscall_trace_leave’
In file included from /usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/vm86.h:130:0,
from /usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/processor.h:10,
from /usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/thread_info.h:22,
from include/linux/thread_info.h:56,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:56,
from include/linux/sched.h:57,
from arch/x86/kernel/ptrace.c:8:
/usr/src/kernels/linux-2.6.38.8/arch/x86/include/asm/ptrace.h:147: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

 

what to do ?

i am using Fedora 17

kernel 3.4.2-4

One Response to kernel compilation error

  1. samta says:

    completed fedora installation!

Leave a 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>