/home/qemutest/linux-2.6.32.61/usr/include/asm/ptrace.h:5: included file 'linux/linkage.h' is not exported
make[2]: *** [/home/qemutest/linux-2.6.32.61/usr/include/asm/.check] Error 123
make[1]: *** [headers_check] Error 2
make: *** [vmlinux] Error 2
解決辦法:
vim arch/x86/include/asm/ptrace.h
註釋掉
#include
146行的
extern asmregparm long syscall_trace_enter(struct pt_regs *);
extern asmregparm void syscall_trace_leave(struct pt_regs *);
再新增下面兩行
extern long syscall_trace_enter(struct pt_regs *);
extern void syscall_trace_leave(struct pt_regs *);
改好後再來make
沒有留言:
張貼留言