diederikdehaas / rtl8812AU

Realtek 8812AU USB WiFi driver
Other
475 stars 177 forks source link

build error rpi 3b+ 8821A #113

Open cery92 opened 5 years ago

cery92 commented 5 years ago

I'm building thr 8821A version with raspberry pi 3b+ with kernel 4.14.71-v7+. When I try to build it with make this is the output:

make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.14.71-v7+/build M=/home/pi/git/rtl8812AU  modules
make[1]: ingresso nella directory "/usr/src/linux-headers-4.14.71-v7+"
CC [M]  /home/pi/git/rtl8812AU/core/rtw_cmd.o
In file included from /home/pi/git/rtl8812AU/include/hal_data.h:25:0,
from /home/pi/git/rtl8812AU/core/rtw_cmd.c:23:
/home/pi/git/rtl8812AU/include/../hal/phydm/phydm_precomp.h:249:40:
fatal error: rtl8821a/halhwimg8821a_mac.h: File o directory non esistente
#include "rtl8821a/halhwimg8821a_mac.h"
^
compilation terminated.
scripts/Makefile.build:328: set di istruzioni per l'obiettivo "/home/pi/git/rtl8812AU/core/rtw_cmd.o" non riuscito
make[2]: *** [/home/pi/git/rtl8812AU/core/rtw_cmd.o] Errore 1
Makefile:1527: set di istruzioni per l'obiettivo "_module_/home/pi/git/rtl8812AU" non riuscito
make[1]: *** [_module_/home/pi/git/rtl8812AU] Errore 2
make[1]: uscita dalla directory "/usr/src/linux-headers-4.14.71-v7+"
Makefile:1687: set di istruzioni per l'obiettivo "modules" non riuscito
make: *** [modules] Errore 2  
daftano commented 5 years ago

@cery92 check out my PR (or my branch on https://github.com/daftano/rtl8812AU) and change the Makefile as follow: CONFIG_PLATFORM_I386_PC = n CONFIG_PLATFORM_ARM64_RPI = y and make sure the following are correct: CONFIG_PLATFORM_ARM_RPI = n CONFIG_PLATFORM_ARM64 = n

I tested on latest Kali, with make make install modprobe 8812au