Open MA24th opened 1 year ago
same problem make[1]: Memasuki direktori '/home/dragonsec/Destop/Reptile/userland' CC /home/dragonsec/Destop/Reptile/output/shell CC /home/dragonsec/Destop/Reptile/output/cmd make[1]: Meninggalkan direktori '/home/dragonsec/Destop/Reptile/userland' make[1]: Memasuki direktori '/usr/src/linux-headers-6.3.0-kali1-amd64' CC [M] /home/dragonsec/Destop/Reptile/output/main.o /home/dragonsec/Destop/Reptile/kernel/main.c: In function ‘khook_audit_alloc’: /home/dragonsec/Destop/Reptile/kernel/main.c:47:42: error: ‘TIF_SYSCALL_AUDIT’ undeclared (first use in this function) 47 | clear_tsk_thread_flag(t, TIF_SYSCALL_AUDIT); | ^ |
#define SSIZE_MAX 32767 |
---|
In file included from /usr/src/linux-headers-6.3.0-kali1-common/include/linux/kernel.h:16, from /usr/src/linux-headers-6.3.0-kali1-common/arch/x86/include/asm/percpu.h:27, from /usr/src/linux-headers-6.3.0-kali1-common/arch/x86/include/asm/nospec-branch.h:14, from /usr/src/linux-headers-6.3.0-kali1-common/arch/x86/include/asm/paravirt_types.h:27, from /usr/src/linux-headers-6.3.0-kali1-common/arch/x86/include/asm/ptrace.h:97, from /usr/src/linux-headers-6.3.0-kali1-common/arch/x86/include/asm/math_emu.h:5, from /usr/src/linux-headers-6.3.0-kali1-common/arch/x86/include/asm/processor.h:13, from /usr/src/linux-headers-6.3.0-kali1-common/arch/x86/include/asm/timex.h:5, from /usr/src/linux-headers-6.3.0-kali1-common/include/linux/timex.h:67, from /usr/src/linux-headers-6.3.0-kali1-common/include/linux/time32.h:13, from /usr/src/linux-headers-6.3.0-kali1-common/include/linux/time.h:60, from /usr/src/linux-headers-6.3.0-kali1-common/include/linux/stat.h:19, from /usr/src/linux-headers-6.3.0-kali1-common/include/linux/module.h:13, from /home/dragonsec/Destop/Reptile/kernel/main.c:1: /usr/src/linux-headers-6.3.0-kali1-common/include/linux/limits.h:10: note: this is the location of the previous definition 10 | #define SSIZE_MAX ((ssize_t)(SIZE_MAX >> 1)) |
---|
cc1: all warnings being treated as errors make[2]: [/usr/src/linux-headers-6.3.0-kali1-common/scripts/Makefile.build:257: /home/dragonsec/Destop/Reptile/output/main.o] Error 1 make[1]: [/usr/src/linux-headers-6.3.0-kali1-common/Makefile:2050: /home/dragonsec/Destop/Reptile/output] Error 2 make[1]: Meninggalkan direktori '/usr/src/linux-headers-6.3.0-kali1-amd64' make: *** [Makefile:35: module] Error 2
hi, i follow installation guide but make failed