rtl8821au
rtl8821au copied to clipboard
error build Ubuntu12.04 x64 for D-LINK DWA-171
user@ub12x64dev$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.13.0-101-generic/build M=/home/user/Downloads/rtl8821au-master modules
make[1]: Entering directory /usr/src/linux-headers-3.13.0-101-generic' CC [M] rtl8821au-master/os_dep/osdep_service.o In file included from rtl8821au-master/include/drv_types.h:39:0, from rtl8821au-master/os_dep/osdep_service.c:25: rtl8821au-master/include/rtw_recv.h:266:24: error: field ‘irq_prepare_beacon_tasklet’ has incomplete type rtl8821au-master/include/rtw_recv.h:267:24: error: field ‘recv_tasklet’ has incomplete type In file included from rtl8821au-master/include/drv_types.h:41:0, from rtl8821au-master/os_dep/osdep_service.c:25: rtl8821au-master/include/rtw_xmit.h:422:24: error: field ‘xmit_tasklet’ has incomplete type make[2]: *** [rtl8821au-master/os_dep/osdep_service.o] Error 1 make[1]: *** [_module_rtl8821au-master] Error 2 make[1]: Leaving directory
/usr/src/linux-headers-3.13.0-101-generic'
make: *** [modules] Error 2
user@ub12x64dev$
Have you installed full kernel sources ??
I see only
linux-headers-3.13.0-101-generic
Please check your kernel source directory and check if .config is valid.
Also do
make modules_prepare
in your linux source directory, to prepare the build external modules