Переустановился с ubuntu 20.04 на Kali linux 2020.2. Не устанавливаются дрова на беспроводное соединение, чипсет rtl8821ce, вот что выводит при sudo ./dkms-install.sh:
Код:
sudo ./dkms-install.sh
About to run dkms install steps...
Creating symlink /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/source ->
/usr/src/rtl8821ce-v5.5.2_34066.20200325
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' -j2 KVER=5.6.0-kali1-amd64.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.6.0-kali1-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/make.log for more information.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' -j2 KVER=5.6.0-kali1-amd64.....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.6.0-kali1-amd64 (x86_64)
Consult /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/make.log for more information.
Finished running dkms install steps.
вот вывод /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/make.log:
DKMS make.log for rtl8821ce-v5.5.2_34066.20200325 for kernel 5.6.0-kali1-amd64 (x86_64)
Пн мая 18 18:58:28 MSK 2020
/bin/sh: 1: bc: not found
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.6.0-kali1-amd64/build M=/var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build modules
make[1]: вход в каталог «/usr/src/linux-headers-5.6.0-kali1-amd64»
/bin/sh: 1: bc: not found
CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_io.o
/var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_debug.c: In function ‘dump_drv_version’:
/var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_debug.c:45:62: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
45 | RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
| ^
In file included from /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/include/drv_types.h:60,
from /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_debug.c:17:
/var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_debug.c:45:44: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
45 | RTW_PRINT_SEL(sel, "build time: %s %s\n", __DATE__, __TIME__);
| ^~~~~~~~
/var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/include/rtw_debug.h:224:25: note: in definition of macro ‘RTW_PRINT_SEL’
224 | _seqdump(sel, fmt, ##arg) /*rtw_warn_on(1)*/; \
| ^~~
CC [M] /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_ioctl_query.o
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-5.6.0-kali1-common/scripts/Makefile.build:273: /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/core/rtw_debug.o] Ошибка 1
make[3]: *** Ожидание завершения заданий…
make[2]: *** [/usr/src/linux-headers-5.6.0-kali1-common/Makefile:1696: /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build] Ошибка 2
make[1]: *** [/usr/src/linux-headers-5.6.0-kali1-common/Makefile:180: sub-make] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-5.6.0-kali1-amd64»
make: *** [Makefile:2244: modules] Ошибка 2