Help with rtl8812au WiFi driver in Centos 7.7
Posted: 2019/10/28 10:13:17
I am trying to find driver for rtl8812au NIC (edited lsusb.py: "1-1.4 0bda:a811 00 2.10 480MBit/s 500mA 1IFs (Realtek 802.11ac WLAN Adapter 00e04c000001)"). I have tried using sources such as https://github.com/cccooo/rtl8812au-cen ... ree/v5.3.4 and https://github.com/abperiasamy/rtl8812AU_8821AU_linux compiling with make/make install but I always seem to get errors during the make. Has anyone got some working drivers or sources or can anyone give me some help to compile one of these?
As an example, with the cccooo drivers I get:
I have checked at ElRepo and they do not appear to have a compatible driver.
As an example, with the cccooo drivers I get:
Code: Select all
[root@7 rtl8812au]# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.10.0-1062.1.1.el7.x86_64/build M=/usr/src/rtl8812au O="" modules
make[1]: Entering directory `/usr/src/kernels/3.10.0-1062.1.1.el7.x86_64'
CC [M] /usr/src/rtl8812au/core/rtw_pwrctrl.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_pwrctrl.c:17:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_pwrctrl.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_rf.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_rf.c:17:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_rf.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_recv.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_recv.c:17:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_recv.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_sta_mgt.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_sta_mgt.c:17:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_sta_mgt.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_ap.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_ap.c:17:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_ap.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/mesh/rtw_mesh.o
CC [M] /usr/src/rtl8812au/core/mesh/rtw_mesh_pathtbl.o
CC [M] /usr/src/rtl8812au/core/mesh/rtw_mesh_hwmp.o
CC [M] /usr/src/rtl8812au/core/rtw_xmit.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_xmit.c:17:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_xmit.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_p2p.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_p2p.c:17:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_p2p.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_rson.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_rson.c:22:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_rson.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_tdls.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_tdls.c:17:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_tdls.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_br_ext.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/skbuff.h:33,
from include/linux/if_arp.h:26,
from /usr/src/rtl8812au/core/rtw_br_ext.c:18:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
In file included from include/net/ip.h:31:0,
from /usr/src/rtl8812au/core/rtw_br_ext.c:19:
include/net/route.h: In function ‘ip_route_output’:
include/net/route.h:138:3: warning: missing initializer for field ‘flowic_iif’ of ‘struct flowi_common’ [-Wmissing-field-initializers]
.flowi4_tos = tos,
^
In file included from include/linux/skbuff.h:41:0,
from include/linux/if_arp.h:26,
from /usr/src/rtl8812au/core/rtw_br_ext.c:18:
include/net/flow.h:23:6: note: ‘flowic_iif’ declared here
int flowic_iif;
^
In file included from include/net/ip.h:31:0,
from /usr/src/rtl8812au/core/rtw_br_ext.c:19:
include/net/route.h:139:3: warning: missing initializer for field ‘flowic_scope’ of ‘struct flowi_common’ [-Wmissing-field-initializers]
.daddr = daddr,
^
In file included from include/linux/skbuff.h:41:0,
from include/linux/if_arp.h:26,
from /usr/src/rtl8812au/core/rtw_br_ext.c:18:
include/net/flow.h:26:7: note: ‘flowic_scope’ declared here
__u8 flowic_scope;
^
/usr/src/rtl8812au/core/rtw_br_ext.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_iol.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_iol.c:16:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_iol.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_sreset.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_sreset.c:16:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_sreset.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_btcoex_wifionly.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_btcoex_wifionly.c:15:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_btcoex_wifionly.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_btcoex.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_btcoex.c:15:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_btcoex.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_beamforming.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_beamforming.c:17:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_beamforming.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_odm.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/include/rtw_odm.h:18,
from /usr/src/rtl8812au/core/rtw_odm.c:16:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_odm.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_rm.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_rm.c:16:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_rm.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/rtw_rm_fsm.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/rtw_rm_fsm.c:16:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/rtw_rm_fsm.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/core/efuse/rtw_efuse.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/core/efuse/rtw_efuse.c:17:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/core/efuse/rtw_efuse.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
CC [M] /usr/src/rtl8812au/os_dep/osdep_service.o
In file included from include/linux/fs.h:9:0,
from include/linux/huge_mm.h:5,
from include/linux/mm.h:437,
from include/linux/scatterlist.h:6,
from include/linux/dmaengine.h:27,
from include/linux/netdevice.h:39,
from /usr/src/rtl8812au/include/osdep_service_linux.h:30,
from /usr/src/rtl8812au/include/osdep_service.h:54,
from /usr/src/rtl8812au/include/drv_types.h:27,
from /usr/src/rtl8812au/os_dep/osdep_service.c:19:
include/linux/path.h: In function ‘path_put_init’:
include/linux/path.h:23:18: warning: missing initializer for field ‘mnt’ of ‘struct path’ [-Wmissing-field-initializers]
*path = (struct path) { };
^
include/linux/path.h:8:19: note: ‘mnt’ declared here
struct vfsmount *mnt;
^
/usr/src/rtl8812au/os_dep/osdep_service.c: In function ‘call_read_iter’:
/usr/src/rtl8812au/os_dep/osdep_service.c:27:19: error: ‘const struct file_operations’ has no member named ‘read_iter’
return file->f_op->read_iter(kio, iter);
^
/usr/src/rtl8812au/os_dep/osdep_service.c: At top level:
cc1: warning: unrecognized command line option "-Wno-date-time" [enabled by default]
cc1: warning: unrecognized command line option "-Wno-cast-function-type" [enabled by default]
make[2]: *** [/usr/src/rtl8812au/os_dep/osdep_service.o] Error 1
make[1]: *** [_module_/usr/src/rtl8812au] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.0-1062.1.1.el7.x86_64'
make: *** [modules] Error 2