I am trying to compile driver for Realtek rtl8812au, it worked perfect on Debian Stretch, but i can't compile it on unstable, i am following this guide:
http://xhyumiracle.com/how-to-install-r ... -adapters/
When i type make in terminal, i am getting some errors:git clone https://github.com/diederikdehaas/rtl8812AU.git
cd rt18812AU
make CC=/usr/bin/gcc-5
sudo make install
sudo modprobe 8812au
echo 8812au | sudo tee -a /etc/modules
Any ideas?make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.13.0-1-amd64/build M=/home/pawel/rtl8812AU_8821AU_linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.13.0-1-amd64'
CC [M] /home/pawel/rtl8812AU_8821AU_linux/core/rtw_cmd.o
In file included from /home/pawel/rtl8812AU_8821AU_linux/include/drv_types.h:32:0,
from /home/pawel/rtl8812AU_8821AU_linux/core/rtw_cmd.c:22:
/home/pawel/rtl8812AU_8821AU_linux/include/osdep_service.h: In function ‘thread_enter’:
/home/pawel/rtl8812AU_8821AU_linux/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^~~~~~~~~~~~
/home/pawel/rtl8812AU_8821AU_linux/include/osdep_service.h: In function ‘flush_signals_thread’:
/home/pawel/rtl8812AU_8821AU_linux/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
if (signal_pending (current)) {
^~~~~~~~~~~~~~
/home/pawel/rtl8812AU_8821AU_linux/include/osdep_service.h:354:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
flush_signals(current);
^~~~~~~~~~~~~
cc1: all warnings being treated as errors
/usr/src/linux-headers-4.13.0-1-common/scripts/Makefile.build:307: recipe for target '/home/pawel/rtl8812AU_8821AU_linux/core/rtw_cmd.o' failed
make[4]: *** [/home/pawel/rtl8812AU_8821AU_linux/core/rtw_cmd.o] Error 1
/usr/src/linux-headers-4.13.0-1-common/Makefile recipe for target '_module_/home/pawel/rtl8812AU_8821AU_linux' failed
make[3]: *** [_module_/home/pawel/rtl8812AU_8821AU_linux] Error 2
Makefile:145: 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.13.0-1-amd64'
Makefile recipe for target 'modules' failed
make: *** [modules] Error 2