Closed corefx closed 5 years ago
Tried on Ubuntu 16.04 and 18.04.1. Both returned the same error message as above.
This problem was solved but another came out.
mkdir -p bin
cd sbin && make reverse cmd
make[1]: Entering directory '/root/Reptile/sbin'
make[1]: 'reverse' is up to date.
make[1]: 'cmd' is up to date.
make[1]: Leaving directory '/root/Reptile/sbin'
make -C /lib/modules/4.15.0-38-generic/build M=$PWD
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-38-generic'
Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /root/Reptile/rep_mod.o
In file included from /root/Reptile/rep_mod.c:9:0:
./arch/x86/include/asm/uaccess.h:30:27: error: unknown type name ‘mm_segment_t’; did you mean ‘apm_event_t’?
static inline void set_fs(mm_segment_t fs)
^~~~
apm_event_t
scripts/Makefile.build:332: recipe for target '/root/Reptile/rep_mod.o' failed
make[2]: [/root/Reptile/rep_mod.o] Error 1
Makefile:1551: recipe for target 'module/root/Reptile' failed
make[1]: [module/root/Reptile] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-38-generic'
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 2
With this next commit, all should be going right on Ubuntu: 35fb60c
I've tested on Ubuntu 18.04.1 LTS and now is all right.
Let me know if you guys will got more problem.
I can confirm that both bugs are now fixed. Thanks!
Hi, Thanks for the beta version. I tried to compile it on Ubuntu 18.04.1 (64 bit) but I got following error: