magudelo58
March 8th, 2018, 10:59 PM
Unable to compile driver rtl8812au after upgrade to 4.15.0-10-generic.
This is the result of the make:
magudelo58@lubuntu:~/rtl8812au$ make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/4.15.0-10-generic/build M=/home/magudelo58/rtl8812au modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-10-generic'
CC [M] /home/magudelo58/rtl8812au/core/rtw_cmd.o
In file included from /home/magudelo58/rtl8812au/include/osdep_service.h:41:0,
from /home/magudelo58/rtl8812au/include/drv_types.h:32,
from /home/magudelo58/rtl8812au/core/rtw_cmd.c:22:
/home/magudelo58/rtl8812au/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/magudelo58/rtl8812au/include/osdep_service_linux.h:257:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^~
/home/magudelo58/rtl8812au/include/osdep_service_linux.h:258: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
scripts/Makefile.build:316: recipe for target '/home/magudelo58/rtl8812au/core/rtw_cmd.o' failed
make[2]: *** [/home/magudelo58/rtl8812au/core/rtw_cmd.o] Error 1
Makefile:1537: recipe for target '_module_/home/magudelo58/rtl8812au' failed
make[1]: *** [_module_/home/magudelo58/rtl8812au] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-10-generic'
Makefile:1052: recipe for target 'modules' failed
make: *** [modules] Error 2
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04
Codename: bionic
uname -r
4.15.0-10-generic
This is the result of the make:
magudelo58@lubuntu:~/rtl8812au$ make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/4.15.0-10-generic/build M=/home/magudelo58/rtl8812au modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-10-generic'
CC [M] /home/magudelo58/rtl8812au/core/rtw_cmd.o
In file included from /home/magudelo58/rtl8812au/include/osdep_service.h:41:0,
from /home/magudelo58/rtl8812au/include/drv_types.h:32,
from /home/magudelo58/rtl8812au/core/rtw_cmd.c:22:
/home/magudelo58/rtl8812au/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/magudelo58/rtl8812au/include/osdep_service_linux.h:257:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^~
/home/magudelo58/rtl8812au/include/osdep_service_linux.h:258: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
scripts/Makefile.build:316: recipe for target '/home/magudelo58/rtl8812au/core/rtw_cmd.o' failed
make[2]: *** [/home/magudelo58/rtl8812au/core/rtw_cmd.o] Error 1
Makefile:1537: recipe for target '_module_/home/magudelo58/rtl8812au' failed
make[1]: *** [_module_/home/magudelo58/rtl8812au] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-10-generic'
Makefile:1052: recipe for target 'modules' failed
make: *** [modules] Error 2
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04
Codename: bionic
uname -r
4.15.0-10-generic