brostrend ac3 wifi 适配器安装错误

brostrend ac3 wifi 适配器安装错误

我正在尝试在我的桌面上安装 brostrend ac3 1200 mbps wifi 适配器,但在安装过程中不断遇到问题。我正在尝试安装驱动程序,但它们在 ubuntu 上尚不可用。当尝试编译内核模块时,我收到此错误:

root@chris-pc:~# cd rtl8812AU_8821AU_linux

root@chris-pc:~/rtl8812AU_8821AU_linux# make

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.13.0-119-generic/build M=/root/rtl8812AU_8821AU_linux  modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-119-generic'
  CC [M]  /root/rtl8812AU_8821AU_linux/os_dep/linux/os_intfs.o
/root/rtl8812AU_8821AU_linux/os_dep/linux/os_intfs.c:809:2: error: initialization from incompatible pointer type [-Werror]
  .ndo_select_queue = rtw_select_queue,
  ^
/root/rtl8812AU_8821AU_linux/os_dep/linux/os_intfs.c:809:2: error: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’) [-Werror]
cc1: all warnings being treated as errors
make[2]: *** [/root/rtl8812AU_8821AU_linux/os_dep/linux/os_intfs.o] Error 1
make[1]: *** [_module_/root/rtl8812AU_8821AU_linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-119-generic'
make: *** [modules] Error 2
root@chris-pc:~/rtl8812AU_8821AU_linux# 

有什么建议么?

答案1

我建议你尝试这个软件包;通过以太网、网络共享或任何可能的方式建立有效的互联网连接:

sudo apt-get update
sudo apt-get install git
git clone https://github.com/bits3rpent/rtl8812AU_8821AU_linux.git
cd rtl8812AU_8821AU_linux
make
sudo make install
sudo modprobe rtl8812au

相关内容