make -C driver install
make[1]: вход в каталог «/root/ndiswrapper-1.62/driver»
make modules
make[2]: вход в каталог «/root/ndiswrapper-1.62/driver»
make -C /usr/src/linux-headers-5.4.0-kali4-amd64 M=/root/ndiswrapper-1.62/driver
make[3]: вход в каталог «/usr/src/linux-headers-5.4.0-kali4-amd64»
CC [M] /root/ndiswrapper-1.62/driver/crt.o
In file included from /root/ndiswrapper-1.62/driver/crt.c:16:
/root/ndiswrapper-1.62/driver/ntoskernel.h: In function ‘raise_irql’:
/root/ndiswrapper-1.62/driver/ntoskernel.h:113:40: error: ‘struct task_struct’ has no member named ‘cpus_allowed’; did you mean ‘nr_cpus_allowed’?
113 | #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)
| ^~~~~~~~~~~~
/root/ndiswrapper-1.62/driver/ntoskernel.h:668:36: note: in expansion of macro ‘tsk_cpus_allowed’
668 | cpumask_copy(&info->cpus_allowed, tsk_cpus_allowed(current));
| ^~~~~~~~~~~~~~~~
make[5]: *** [/usr/src/linux-headers-5.4.0-kali4-common/scripts/Makefile.build:271: /root/ndiswrapper-1.62/driver/crt.o] Ошибка 1
make[4]: *** [/usr/src/linux-headers-5.4.0-kali4-common/Makefile:1665: /root/ndiswrapper-1.62/driver] Ошибка 2
make[3]: *** [/usr/src/linux-headers-5.4.0-kali4-common/Makefile:179: sub-make] Ошибка 2
make[3]: выход из каталога «/usr/src/linux-headers-5.4.0-kali4-amd64»
make[2]: *** [Makefile:183: modules] Ошибка 2
make[2]: выход из каталога «/root/ndiswrapper-1.62/driver»
make[1]: *** [Makefile:186: ndiswrapper.ko] Ошибка 2
make[1]: выход из каталога «/root/ndiswrapper-1.62/driver»
make: *** [Makefile:27: install] Ошибка 2