Realtek rtl8812au - building driver failed

If none of the more specific forums is the right place to ask

Realtek rtl8812au - building driver failed

Postby pawRoot » 2017-10-29 20:43

Hi
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-rtl8812au-driver-on-ubuntu-for-wireless-usb-adapters/
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


When i type make in terminal, i am getting some errors:

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:1529: 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:1570: recipe for target 'modules' failed
make: *** [modules] Error 2


Any ideas? :(
OS: Debian unstable sid
Kernel: x86_64 Linux 4.13.0-1-amd64
WM: Gnome3
CPU: Intel Core i5-4690K CPU @ 3.9GHz
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 187
Joined: 2016-12-28 18:26
Location: Poland

Re: Realtek rtl8812au - building driver failed

Postby Segfault » 2017-10-29 21:25

Try with -Wno-error ?
Segfault
 
Posts: 498
Joined: 2005-09-24 12:24

Re: Realtek rtl8812au - building driver failed

Postby pawRoot » 2017-10-29 22:58

Segfault wrote:Try with -Wno-error ?

Do you mean i should add this to "make" ?
OS: Debian unstable sid
Kernel: x86_64 Linux 4.13.0-1-amd64
WM: Gnome3
CPU: Intel Core i5-4690K CPU @ 3.9GHz
MOBO: MSI Z97 Gaming 3
User avatar
pawRoot
 
Posts: 187
Joined: 2016-12-28 18:26
Location: Poland

Re: Realtek rtl8812au - building driver failed

Postby Segfault » 2017-10-30 00:32

No, CFLAGS.
Segfault
 
Posts: 498
Joined: 2005-09-24 12:24


Return to General Questions

Who is online

Users browsing this forum: calkekecal and 5 guests

fashionable