Lutando com o comando 'Make'

0

Estou tentando instalar alguns drivers de placa Wi-Fi. Localizei o diretório em que o arquivo make está localizado e, ao executar sudo make , recebo o seguinte:

$ make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.13.0-kali1-amd64/build M=/root/Desktop/rtl8812au-master
modules make[1]: *** /lib/modules/4.13.0-kali1-amd64/build: No such
file or directory.  Stop. Makefile:1051: recipe for target 'modules'
failed make: *** [modules] Error 2

Atualmente, estou executando os fundamentos mais recentes da versão.

Editar / atualizar

Agora atualizei meu kernal e meus cabeçalhos

Eu segui todos os mesmos passos e agora obtenho o abaixo

root@kali:~/Desktop/rtl8812au-master# make make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.14.0-kali3-amd64/build M=/root/Desktop/rtl8812au-master modules make[1]: Entering directory '/usr/src/linux-headers-4.14.0-kali3-amd64' CC [M] /root/Desktop/rtl8812au-master/core/rtw_cmd.o In file included from /root/Desktop/rtl8812au-master/include/drv_types.h:32:0, from /root/Desktop/rtl8812au-master/core/rtw_cmd.c:22: /root/Desktop/rtl8812au-master/include/osdep_service.h: In function ‘thread_enter’: /root/Desktop/rtl8812au-master/include/osdep_service.h:251:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
allow_signal(SIGTERM); ^~~~~~~~~~~~ do_signal /root/Desktop/rtl8812au-master/include/osdep_service.h: In function ‘flush_signals_thread’: /root/Desktop/rtl8812au-master/include/osdep_service.h:261:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration] if (signal_pending (current)) ^~~~~~~~~~~~~~ timer_pending /root/Desktop/rtl8812au-master/include/osdep_service.h:263:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]
flush_signals(current); ^~~~~~~~~~~~~ do_signal cc1: some warnings being treated as errors /usr/src/linux-headers-4.14.0-kali3-common/scripts/Makefile.build:319: recipe for target '/root/Desktop/rtl8812au-master/core/rtw_cmd.o' failed make[4]: * [/root/Desktop/rtl8812au-master/core/rtw_cmd.o] Error 1 /usr/src/linux-headers-4.14.0-kali3-common/Makefile:1525: recipe for target 'module/root/Desktop/rtl8812au-master' failed make[3]: [_module_/root/Desktop/rtl8812au-master] Error 2 Makefile:146: recipe for target 'sub-make' failed make[2]: [sub-make] Error 2 Makefile:8: recipe for target 'all' failed make[1]: * [all] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.14.0-kali3-amd64' Makefile:1051: recipe for target 'modules' failed make: *** [modules] Error 2

    
por Dazhazard 06.02.2018 / 00:48

0 respostas