Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error build Ubuntu12.04 x64 for D-LINK DWA-171 #11

Open
eddylai opened this issue Nov 20, 2016 · 1 comment
Open

error build Ubuntu12.04 x64 for D-LINK DWA-171 #11

eddylai opened this issue Nov 20, 2016 · 1 comment

Comments

@eddylai
Copy link

eddylai commented Nov 20, 2016

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$

@ulli-kroll
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants