運行從 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