Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Realtek rtl8812au - building driver failed

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Realtek rtl8812au - building driver failed

#1 Post by pawRoot »

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-r ... -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? :(

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Realtek rtl8812au - building driver failed

#2 Post by Segfault »

Try with -Wno-error ?

User avatar
pawRoot
Posts: 603
Joined: 2016-12-28 18:26
Has thanked: 1 time
Been thanked: 1 time

Re: Realtek rtl8812au - building driver failed

#3 Post by pawRoot »

Segfault wrote:Try with -Wno-error ?
Do you mean i should add this to "make" ?

Segfault
Posts: 993
Joined: 2005-09-24 12:24
Has thanked: 5 times
Been thanked: 17 times

Re: Realtek rtl8812au - building driver failed

#4 Post by Segfault »

No, CFLAGS.

Post Reply