如何解决无线加密狗驱动程序的 makefile 错误?

如何解决无线加密狗驱动程序的 makefile 错误?

运行从 D-link 网站下载的无线加密狗驱动程序文件后,install.sh我收到这些错误,并且不确定如何解决它们。值得注意的是,我的电脑无法访问互联网,这让事情变得更加困难。

cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/home/nathan/Desktop/DWA-180_DRIVER_4.3.2_LINUX/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411/core/rtw_cmd.o' failed
make[2]: *** [/home/nathan/Desktop/DWA-180_DRIVER_4.3.2_LINUX/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411/core/rtw_cmd.o] Error 1
Makefile:1558: recipe for target '_module_/home/nathan/Desktop/DWA-180_DRIVER_4.3.2_LINUX/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411' failed
make[1]: *** [_module_/home/nathan/Desktop/DWA-180_DRIVER_4.3.2_LINUX/RTL8812AU_linux_v4.3.2_11100.20140411/driver/rtl8812AU_linux_v4.3.2_11100.20140411] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-20-generic'
Makefile:1350: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
root@nathan-desk:/home/nathan/Desktop/DWA- 180_DRIVER_4.3.2_LINUX/RTL8812AU_linux_v4.3.2_11100.20140411# ^C
root@nathan-desk:/home/nathan/Desktop/DWA 180_DRIVER_4.3.2_LINUX/RTL8812AU_linux_v4.3.2_11100.20140411#

答案1

请参阅我的问题和答案rtl8812au 和 rtl8814au 网络适配器的 dkms 驱动程序无法在 17.10(内核 4.13)上构建

获取与 18.04 兼容的最新 rtl8812au 驱动程序:

sudo git clone https://github.com/zebulon2/rtl8812au-driver-5.2.20.git

相关内容