如何让 linksys WUSB6300 无线适配器在 Ubuntu 上运行

如何让 linksys WUSB6300 无线适配器在 Ubuntu 上运行

我有 Ubuntu 14.04,并尝试按照此帖子安装 Linksys WUSB6300 的驱动程序:

如何让 linksys WUSB6300 无线适配器在 Linux 上运行

但是当我运行时,make我收到以下错误消息:

In file included from include/net/ip.h:31:0,
                 from /home/balazs/Downloads/rtl8812AU_8821AU_linux/core/rtw_br_ext.c:24:
include/net/route.h: In function ‘ip_route_output’:
include/net/route.h:127:3: error: missing initializer for field ‘flowic_iif’ of ‘struct flowi_common’ [-Werror=missing-field-initializers]
   .flowi4_tos = tos,
   ^
In file included from include/net/net_namespace.h:12:0,
                 from include/linux/netdevice.h:43,
                 from include/uapi/linux/if_arp.h:26,
                 from include/linux/if_arp.h:27,
                 from /home/balazs/Downloads/rtl8812AU_8821AU_linux/core/rtw_br_ext.c:23:
include/net/flow.h:24:6: note: ‘flowic_iif’ declared here
  int flowic_iif;
      ^
In file included from include/net/ip.h:31:0,
                 from /home/balazs/Downloads/rtl8812AU_8821AU_linux/core/rtw_br_ext.c:24:
include/net/route.h:128:3: error: missing initializer for field ‘flowic_scope’ of ‘struct flowi_common’ [-Werror=missing-field-initializers]
   .daddr = daddr,
   ^
In file included from include/net/net_namespace.h:12:0,
                 from include/linux/netdevice.h:43,
                 from include/uapi/linux/if_arp.h:26,
                 from include/linux/if_arp.h:27,
                 from /home/balazs/Downloads/rtl8812AU_8821AU_linux/core/rtw_br_ext.c:23:
include/net/flow.h:27:7: note: ‘flowic_scope’ declared here
  __u8 flowic_scope;
       ^
cc1: all warnings being treated as errors
make[2]: *** [/home/balazs/Downloads/rtl8812AU_8821AU_linux/core/rtw_br_ext.o] Error 1
make[1]: *** [_module_/home/balazs/Downloads/rtl8812AU_8821AU_linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.16.0-67-generic'
make: *** [modules] Error 2

相关内容