Problem installing drivers

Chat about Linux in general
Post Reply
Level 1
Level 1
Posts: 1
Joined: Fri Dec 07, 2018 3:28 am

Problem installing drivers

Post by sapu » Fri Dec 07, 2018 3:35 am


Can someone give me a help? I'm quite an ubuntu newbie and tried to install the driveer for dwa-171 - but receive the following

thank you in advance


bono@bono-HP-Compaq-Pro-6300-All-in-One-PC:~/rtl8812AU_8821AU_linux$ sudo apt-get install git
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
git ist schon die neueste Version (1:2.17.1-1ubuntu0.4).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 5 nicht aktualisiert.
bono@bono-HP-Compaq-Pro-6300-All-in-One-PC:~/rtl8812AU_8821AU_linux$ git clone ... _linux.git
Klone nach 'rtl8812AU_8821AU_linux' ...
remote: Enumerating objects: 1597, done.
remote: Total 1597 (delta 0), reused 0 (delta 0), pack-reused 1597
Empfange Objekte: 100% (1597/1597), 3.59 MiB | 5.02 MiB/s, Fertig.
Löse Unterschiede auf: 100% (987/987), Fertig.
bono@bono-HP-Compaq-Pro-6300-All-in-One-PC:~/rtl8812AU_8821AU_linux$ cd rtl8812AU_8821AU_linux
bono@bono-HP-Compaq-Pro-6300-All-in-One-PC:~/rtl8812AU_8821AU_linux/rtl8812AU_8821AU_linux$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-42-generic/build M=/home/bono/rtl8812AU_8821AU_linux/rtl8812AU_8821AU_linux modules
make[1]: Verzeichnis „/usr/src/linux-headers-4.15.0-42-generic“ wird betreten
arch/x86/Makefile:156: CONFIG_X86_X32 enabled but no binutils support
./scripts/ Zeile 26: gcc: Befehl nicht gefunden
./scripts/ Zeile 27: gcc: Befehl nicht gefunden
make[1]: gcc: Command not found
Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /home/bono/rtl8812AU_8821AU_linux/rtl8812AU_8821AU_linux/core/rtw_cmd.o
/bin/sh: 1: gcc: not found
scripts/ recipe for target '/home/bono/rtl8812AU_8821AU_linux/rtl8812AU_8821AU_linux/core/rtw_cmd.o' failed
make[2]: *** [/home/bono/rtl8812AU_8821AU_linux/rtl8812AU_8821AU_linux/core/rtw_cmd.o] Error 127
Makefile:1551: recipe for target '_module_/home/bono/rtl8812AU_8821AU_linux/rtl8812AU_8821AU_linux' failed
make[1]: *** [_module_/home/bono/rtl8812AU_8821AU_linux/rtl8812AU_8821AU_linux] Error 2
make[1]: Verzeichnis „/usr/src/linux-headers-4.15.0-42-generic“ wird verlassen
Makefile:1584: recipe for target 'modules' failed
make: *** [modules] Error 2
bono@bono-HP-Compaq-Pro-6300-All-in-One-PC:~/rtl8812AU_8821AU_linux/rtl8812AU_8821AU_linux$ sudo make install
install -p -m 644 rtl8812au.ko /lib/modules/4.15.0-42-generic/kernel/drivers/net/wireless/
install: Aufruf von stat für 'rtl8812au.ko' nicht möglich: Datei oder Verzeichnis nicht gefunden
Makefile:1590: recipe for target 'install' failed
make: *** [install] Error 1
bono@bono-HP-Compaq-Pro-6300-All-in-One-PC:~/rtl8812AU_8821AU_linux/rtl8812AU_8821AU_linux$ sudo modprobe 8812au^C

User avatar
killer de bug
Level 14
Level 14
Posts: 5415
Joined: Tue Jul 08, 2008 1:49 pm
Location: Leuven, Belgium

Re: Problem installing drivers

Post by killer de bug » Fri Dec 07, 2018 3:42 am

As you mentioned Ubuntu and not Linux Mint, please note that your topic was moved to the open chat section.
In order to help you, it anyways misses a lot of info (OS version, hardware...)
If it ain't broke, fix it until it is.

Level 4
Level 4
Posts: 238
Joined: Tue Sep 01, 2015 10:15 am

Re: Problem installing drivers

Post by uberdorf » Sun Dec 09, 2018 4:08 pm

It appears you are trying to install the realtek driver 8812AU. Try this thread

Post Reply

Return to “Chat about Linux”