I have Ubuntu 14.04 and tried to install the driver for Linksys WUSB6300 following this post:
How do I get the linksys WUSB6300 wireless adapter to work on linux
However when I run make
I get the following error messages:
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
`Skipping...
Building module: cleaning build area.... make KERNELRELEASE=4.4.0-040400-generic KVER=4.4.0-040400-generic....(bad exit status: 2) ERROR (dkms apport): binary package for rtl8812au: 4.3.14 not found Error! Bad return status for module build on kernel: 4.4.0-040400-generic (x86_64) Consult /var/lib/dkms/rtl8812au/4.3.14/build/make.log for more information. make: *** [build] Error 10`
– Balázs Fehér Oct 27 '16 at 00:08cat /var/lib/dkms/rtl8812au/4.3.14/build/make.log
and paste the contents here and give us the link: http://paste.ubuntu.com Did all the steps leading up to the error go without error or warning? – chili555 Oct 27 '16 at 00:15