[root@localhost linux-2.6.32.8]# make CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 CALL scripts/checksyscalls.sh CHK include/linux/compile.h CC arch/x86/kernel/ptrace.o In file included from /root/kernelbuild/linux-2.6.32.8/arch/x86/include/asm/current.h:5:0, from /root/kernelbuild/linux-2.6.32.8/arch/x86/include/asm/processor.h:15, from /root/kernelbuild/linux-2.6.32.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:56, from arch/x86/kernel/ptrace.c:11: /root/kernelbuild/linux-2.6.32.8/arch/x86/include/asm/irq_regs.h: В функции «set_irq_regs»: /root/kernelbuild/linux-2.6.32.8/arch/x86/include/asm/percpu.h:79:7: предупреждение: variable «tmp__» set but not used [-Wunused-but-set-variable] T__ tmp__; \ ^ /root/kernelbuild/linux-2.6.32.8/arch/x86/include/asm/percpu.h:149:32: замечание: in expansion of macro «percpu_to_op» #define percpu_write(var, val) percpu_to_op(«mov», per_cpu__##var, val) ^ /root/kernelbuild/linux-2.6.32.8/arch/x86/include/asm/irq_regs.h:26:2: замечание: in expansion of macro «percpu_write» percpu_write(irq_regs, new_regs); ^ In file included from /root/kernelbuild/linux-2.6.32.8/arch/x86/include/asm/hardirq.h:5:0, from include/linux/hardirq.h:10, from include/linux/interrupt.h:12, from include/linux/kernel_stat.h:8, from /root/kernelbuild/linux-2.6.32.8/arch/x86/include/asm/i387.h:14, from arch/x86/kernel/ptrace.c:30: include/linux/irq.h: В функции «alloc_desc_masks»: include/linux/irq.h:439:8: предупреждение: variable «gfp» set but not used [-Wunused-but-set-variable] gfp_t gfp = GFP_ATOMIC; ^ arch/x86/kernel/ptrace.c: На верхнем уровне: arch/x86/kernel/ptrace.c:1472:17: ошибка: несовместимые типы для «syscall_trace_enter» asmregparm long syscall_trace_enter(struct pt_regs *regs) ^ In file included from /root/kernelbuild/linux-2.6.32.8/arch/x86/include/asm/vm86.h:130:0, from /root/kernelbuild/linux-2.6.32.8/arch/x86/include/asm/processor.h:10, from /root/kernelbuild/linux-2.6.32.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:56, from arch/x86/kernel/ptrace.c:11: /root/kernelbuild/linux-2.6.32.8/arch/x86/include/asm/ptrace.h:145:13: замечание: здесь была предыдущая декларация «syscall_trace_enter» extern long syscall_trace_enter(struct pt_regs *); ^ arch/x86/kernel/ptrace.c:1517:17: ошибка: несовместимые типы для «syscall_trace_leave» asmregparm void syscall_trace_leave(struct pt_regs *regs) ^ In file included from /root/kernelbuild/linux-2.6.32.8/arch/x86/include/asm/vm86.h:130:0, from /root/kernelbuild/linux-2.6.32.8/arch/x86/include/asm/processor.h:10, from /root/kernelbuild/linux-2.6.32.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:56, from arch/x86/kernel/ptrace.c:11: /root/kernelbuild/linux-2.6.32.8/arch/x86/include/asm/ptrace.h:146:13: замечание: здесь была предыдущая декларация «syscall_trace_leave» extern void syscall_trace_leave(struct pt_regs *); ^ scripts/Makefile.build:229: ошибка выполнения рецепта для цели «arch/x86/kernel/ptrace.o» make[2]: *** [arch/x86/kernel/ptrace.o] Ошибка 1 scripts/Makefile.build:365: ошибка выполнения рецепта для цели «arch/x86/kernel» make[1]: *** [arch/x86/kernel] Ошибка 2 Makefile:878: ошибка выполнения рецепта для цели «arch/x86» make: *** [arch/x86] Ошибка 2
как решить проблему, знаю надо писать Pfth но не знаю куда.. помогите разобраться