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 installing with sudo dkms install -m rtl8812au -v 4.3.21 #112

Open
SgtFoose opened this issue Oct 28, 2018 · 1 comment
Open

Error installing with sudo dkms install -m rtl8812au -v 4.3.21 #112

SgtFoose opened this issue Oct 28, 2018 · 1 comment

Comments

@SgtFoose
Copy link

DKMS make.log for rtl8812au-4.3.21 for kernel 4.18.0-kali2-amd64 (x86_64)
Sun Oct 28 21:02:09 CET 2018
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-kali2-amd64/build M=/var/lib/dkms/rtl8812au/4.3.21/build modules
make[1]: Entering directory '/usr/src/linux-headers-4.18.0-kali2-amd64'
CC [M] /var/lib/dkms/rtl8812au/4.3.21/build/core/rtw_cmd.o
In file included from /var/lib/dkms/rtl8812au/4.3.21/build/include/osdep_service.h:41:0,
from /var/lib/dkms/rtl8812au/4.3.21/build/include/drv_types.h:32,
from /var/lib/dkms/rtl8812au/4.3.21/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8812au/4.3.21/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/rtl8812au/4.3.21/build/include/osdep_service_linux.h:284:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^~
/var/lib/dkms/rtl8812au/4.3.21/build/include/osdep_service_linux.h:285:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
init_timer(ptimer);
^~~~~~~~~~
_init_timer
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-4.18.0-kali2-common/scripts/Makefile.build:323: /var/lib/dkms/rtl8812au/4.3.21/build/core/rtw_cmd.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.18.0-kali2-common/Makefile:1531: module/var/lib/dkms/rtl8812au/4.3.21/build] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-kali2-amd64'
make: *** [Makefile:1732: modules] Error 2

@diederikdehaas
Copy link
Owner

I don't have a 4.3.21 driver version, which one did you use?
Anyway, ptimer related issues should be fixed with commits labeled Added support for kernels >= 4.15.

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