scripts/Makefile.build:308: recipe for target '/home/sargarass/work/clientServer/kern/AstraLinux/3.10.108-1-generic_3.10.108-1.astra1/build/covert/dir.o' failed
Makefile:1228: recipe for target '_module_/home/sargarass/work/clientServer/kern/AstraLinux/3.10.108-1-generic_3.10.108-1.astra1/build' failed
make[1]: выход из каталога «/home/sargarass/work/clientServer/kern/AstraLinux/3.10.108-1-generic_3.10.108-1.astra1/usr/src/linux-headers-3.10.108-1-generic»
Makefile:127: recipe for target 'all' failed
make: выход из каталога «/home/sargarass/svncopy/lkm»
/home/sargarass/work/clientServer/kern/AstraLinux/3.10.108-1-generic_3.10.108-1.astra1/usr/src/linux-headers-3.10.108-1-generic/arch/x86/Makefile:98: stack protector enabled but no compiler support
In file included from /home/sargarass/svncopy/lkm/utils/krw.c:2:0:
include/linux/pagemap.h: In function ‘fault_in_multipages_readable’:
include/linux/pagemap.h:513:16: warning: variable ‘c’ set but not used [-Wunused-but-set-variable]
volatile char c;
^
/home/sargarass/svncopy/lkm/utils/utf8/internal/database.c:34:24: warning: ‘DECOMPOSE_INDEX1_MASK’ defined but not used [-Wunused-const-variable=]
static const unicode_t DECOMPOSE_INDEX1_MASK = MAX_LEGAL_UNICODE;
^~~~~~~~~~~~~~~~~~~~~
In file included from /home/sargarass/svncopy/lkm/utils/rhashtable/rhashtable.c:10:0:
include/linux/jhash.h: In function ‘jhash2’:
include/linux/jhash.h:136:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 3: c += k[2];
~~^~~~~~~
include/linux/jhash.h:137:2: note: here
case 2: b += k[1];
^~~~
include/linux/jhash.h:137:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 2: b += k[1];
~~^~~~~~~
include/linux/jhash.h:138:2: note: here
case 1: a += k[0];
^~~~
include/linux/jhash.h: In function ‘jhash’:
include/linux/jhash.h:90:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 12: c += (u32)k[11]<<24;
~~^~~~~~~~~~~~~~~~~
include/linux/jhash.h:91:2: note: here
case 11: c += (u32)k[10]<<16;
^~~~
include/linux/jhash.h:91:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 11: c += (u32)k[10]<<16;
~~^~~~~~~~~~~~~~~~~
include/linux/jhash.h:92:2: note: here
case 10: c += (u32)k[9]<<8;
^~~~
include/linux/jhash.h:92:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 10: c += (u32)k[9]<<8;
~~^~~~~~~~~~~~~~~
include/linux/jhash.h:93:2: note: here
case 9: c += k[8];
^~~~
include/linux/jhash.h:93:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 9: c += k[8];
~~^~~~~~~
include/linux/jhash.h:94:2: note: here
case 8: b += (u32)k[7]<<24;
^~~~
include/linux/jhash.h:94:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 8: b += (u32)k[7]<<24;
~~^~~~~~~~~~~~~~~~
include/linux/jhash.h:95:2: note: here
case 7: b += (u32)k[6]<<16;
^~~~
include/linux/jhash.h:95:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 7: b += (u32)k[6]<<16;
~~^~~~~~~~~~~~~~~~
include/linux/jhash.h:96:2: note: here
case 6: b += (u32)k[5]<<8;
^~~~
include/linux/jhash.h:96:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 6: b += (u32)k[5]<<8;
~~^~~~~~~~~~~~~~~
include/linux/jhash.h:97:2: note: here
case 5: b += k[4];
^~~~
include/linux/jhash.h:97:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 5: b += k[4];
~~^~~~~~~
include/linux/jhash.h:98:2: note: here
case 4: a += (u32)k[3]<<24;
^~~~
include/linux/jhash.h:98:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 4: a += (u32)k[3]<<24;
~~^~~~~~~~~~~~~~~~
include/linux/jhash.h:99:2: note: here
case 3: a += (u32)k[2]<<16;
^~~~
include/linux/jhash.h:99:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 3: a += (u32)k[2]<<16;
~~^~~~~~~~~~~~~~~~
include/linux/jhash.h:100:2: note: here
case 2: a += (u32)k[1]<<8;
^~~~
include/linux/jhash.h:100:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 2: a += (u32)k[1]<<8;
~~^~~~~~~~~~~~~~~
include/linux/jhash.h:101:2: note: here
case 1: a += k[0];
^~~~
/home/sargarass/svncopy/lkm/lkm.c: In function ‘start_deactivation’:
/home/sargarass/svncopy/lkm/lkm.c:170:10: warning: unused variable ‘disable’ [-Wunused-variable]
bool disable = false;
^~~~~~~
In file included from /home/sargarass/svncopy/lkm/netlink.c:8:0:
include/net/sock.h: In function ‘skb_add_data_nocache’:
include/net/sock.h:1851:48: warning: pointer targets in passing argument 4 of ‘skb_do_copy_data_nocache’ differ in signedness [-Wpointer-sign]
err = skb_do_copy_data_nocache(sk, skb, from, skb_put(skb, copy),
^~~~~~~
include/net/sock.h:1826:19: note: expected ‘char *’ but argument is of type ‘unsigned char *’
static inline int skb_do_copy_data_nocache(struct sock *sk, struct sk_buff *skb,
^~~~~~~~~~~~~~~~~~~~~~~~
/home/sargarass/svncopy/lkm/covert/dir.c: In function ‘dir_filldir’:
/home/sargarass/svncopy/lkm/covert/dir.c:62:6: error: implicit declaration of function ‘is_hidden’; did you mean ‘pte_hidden’? [-Werror=implicit-function-declaration]
if (is_hidden(wrapper->dir, name)) {
^~~~~~~~~
pte_hidden
cc1: some warnings being treated as errors
make[2]: *** [/home/sargarass/work/clientServer/kern/AstraLinux/3.10.108-1-generic_3.10.108-1.astra1/build/covert/dir.o] Error 1
make[1]: *** [_module_/home/sargarass/work/clientServer/kern/AstraLinux/3.10.108-1-generic_3.10.108-1.astra1/build] Error 2
make: *** [all] Error 2
: exit status 2
2019/07/30 14:54:30 linux-headers-3.10.108-1-generic_3.10.108-1.astra1_amd64.deb