You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2024. It is now read-only.
make -C /lib/modules/5.10.4-051004-generic/build M="/home//Downloads/LiME-master/src" modules
make[1]: Entering directory '/usr/src/linux-headers-5.10.4-051004-generic'
CC [M] /home//Downloads/LiME-master/src/tcp.o
/home//Downloads/LiME-master/src/tcp.c: In function ‘setup_tcp’:
/home//Downloads/LiME-master/src/tcp.c:77:10: error: implicit declaration of function ‘get_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
77 | fs = get_fs();
| ^~~~~~
| sget_fc
/home//Downloads/LiME-master/src/tcp.c:77:10: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
/home//Downloads/LiME-master/src/tcp.c:78:5: error: implicit declaration of function ‘set_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
78 | set_fs(KERNEL_DS);
| ^~~~~~
| sget_fc
/home//Downloads/LiME-master/src/tcp.c:78:12: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
78 | set_fs(KERNEL_DS);
| ^~~~~~~~~
| KERNFS_NS
/home//Downloads/LiME-master/src/tcp.c:78:12: note: each undeclared identifier is reported only once for each function it appears in
/home//Downloads/LiME-master/src/tcp.c:49:12: warning: unused variable ‘opt’ [-Wunused-variable]
49 | int r, opt;
| ^~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: /home//Downloads/LiME-master/src/tcp.o] Error 1
make[1]: *** [Makefile:1805: /home/______/Downloads/LiME-master/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.4-051004-generic'
make: *** [Makefile:35: default] Error 2
The text was updated successfully, but these errors were encountered:
gcc version 10.2.1 20201221
kernel 5.10.4
make -C /lib/modules/5.10.4-051004-generic/build M="/home//Downloads/LiME-master/src" modules
make[1]: Entering directory '/usr/src/linux-headers-5.10.4-051004-generic'
CC [M] /home//Downloads/LiME-master/src/tcp.o
/home//Downloads/LiME-master/src/tcp.c: In function ‘setup_tcp’:
/home//Downloads/LiME-master/src/tcp.c:77:10: error: implicit declaration of function ‘get_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
77 | fs = get_fs();
| ^~~~~~
| sget_fc
/home//Downloads/LiME-master/src/tcp.c:77:10: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
/home//Downloads/LiME-master/src/tcp.c:78:5: error: implicit declaration of function ‘set_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
78 | set_fs(KERNEL_DS);
| ^~~~~~
| sget_fc
/home//Downloads/LiME-master/src/tcp.c:78:12: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
78 | set_fs(KERNEL_DS);
| ^~~~~~~~~
| KERNFS_NS
/home//Downloads/LiME-master/src/tcp.c:78:12: note: each undeclared identifier is reported only once for each function it appears in
/home//Downloads/LiME-master/src/tcp.c:49:12: warning: unused variable ‘opt’ [-Wunused-variable]
49 | int r, opt;
| ^~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: /home//Downloads/LiME-master/src/tcp.o] Error 1
make[1]: *** [Makefile:1805: /home/______/Downloads/LiME-master/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.4-051004-generic'
make: *** [Makefile:35: default] Error 2
The text was updated successfully, but these errors were encountered: