Unpacking rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu2) over (4.3.8.12175.20140902+dfsg-0ubuntu2) ...
Setting up rtl8812au-dkms (4.3.8.12175.20140902+dfsg-0ubuntu2) ...
Loading new rtl8812au-4.3.8.12175.20140902+dfsg DKMS files...
Building only for 4.15.0-32-generic
Building initial module for 4.15.0-32-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rtl8812au-dkms.0.crash'
Error! Bad return status for module build on kernel: 4.15.0-32-generic (x86_64)
Consult /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/make.log for more information.
DKMS make.log for rtl8812au-4.3.8.12175.20140902+dfsg for kernel 4.15.0-32-generic (x86_64)
Sun Aug 19 13:44:45 EDT 2018
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-32-generic/build M=/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build modules
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-32-generic'
Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_cmd.o
In file included from /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service.h:41:0, from /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/drv_types.h:32, from /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service_linux.h:253:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’
ptimer->data = (unsigned long)cntx;
^
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service_linux.h:254:2: error: implicit declaration of function ‘init_timer’ [-Werror=implicit-function-declaration]
init_timer(ptimer);
^
In file included from /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/drv_types.h:32:0, from /var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service.h: In function ‘thread_enter’:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’ [-Werror=implicit-function-declaration]
allow_signal(SIGTERM);
^
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service.h: In function ‘flush_signals_thread’:
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’ [-Werror=implicit-function-declaration]
if (signal_pending (current))
^
/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/include/osdep_service.h:355:3: error: implicit declaration of function ‘flush_signals’ [-Werror=implicit-function-declaration]
flush_signals(current);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:332: recipe for target '/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_cmd.o' failed
make[2]: *** [/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build/core/rtw_cmd.o] Error 1
Makefile:1552: recipe for target '_module_/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build' failed
make[1]: *** [_module_/var/lib/dkms/rtl8812au/4.3.8.12175.20140902+dfsg/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-32-generic'
Makefile:1459: recipe for target 'modules' failed
make: *** [modules] Error 2
Also doesn't work with ubuntu 16.04
Unpacking rtl8812au-dkms (4.3.8. 12175.20140902+ dfsg-0ubuntu2) over (4.3.8. 12175.20140902+ dfsg-0ubuntu2) ... 12175.20140902+ dfsg-0ubuntu2) ... 4.3.8.12175. 20140902+ dfsg DKMS files... rtl8812au- dkms.0. crash' dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ make.log for more information.
Setting up rtl8812au-dkms (4.3.8.
Loading new rtl8812au-
Building only for 4.15.0-32-generic
Building initial module for 4.15.0-32-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/
Error! Bad return status for module build on kernel: 4.15.0-32-generic (x86_64)
Consult /var/lib/
DKMS make.log for rtl8812au- 4.3.8.12175. 20140902+ dfsg for kernel 4.15.0-32-generic (x86_64) 4.15.0- 32-generic/ build M=/var/ lib/dkms/ rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build modules linux-headers- 4.15.0- 32-generic' STACK_VALIDATIO N=y, please install libelf-dev, libelf-devel or elfutils- libelf- devel" dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ core/rtw_ cmd.o dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ include/ osdep_service. h:41:0,
from /var/lib/ dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ include/ drv_types. h:32,
from /var/lib/ dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ core/rtw_ cmd.c:22: dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ include/ osdep_service_ linux.h: In function ‘_init_timer’: dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ include/ osdep_service_ linux.h: 253:8: error: ‘_timer {aka struct timer_list}’ has no member named ‘data’ dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ include/ osdep_service_ linux.h: 254:2: error: implicit declaration of function ‘init_timer’ [-Werror= implicit- function- declaration] timer(ptimer) ; dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ include/ drv_types. h:32:0,
from /var/lib/ dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ core/rtw_ cmd.c:22: dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ include/ osdep_service. h: In function ‘thread_enter’: dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ include/ osdep_service. h:343:2: error: implicit declaration of function ‘allow_signal’ [-Werror= implicit- function- declaration] signal( SIGTERM) ; dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ include/ osdep_service. h: In function ‘flush_ signals_ thread’ : dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ include/ osdep_service. h:353:6: error: implicit declaration of function ‘signal_pending’ [-Werror= implicit- function- declaration] dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ include/ osdep_service. h:355:3: error: implicit declaration of function ‘flush_signals’ [-Werror= implicit- function- declaration] signals( current) ; Makefile. build:332: recipe for target '/var/lib/ dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ core/rtw_ cmd.o' failed dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build/ core/rtw_ cmd.o] Error 1 /var/lib/ dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build' failed /var/lib/ dkms/rtl8812au/ 4.3.8.12175. 20140902+ dfsg/build] Error 2 linux-headers- 4.15.0- 32-generic'
Sun Aug 19 13:44:45 EDT 2018
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/
make[1]: Entering directory '/usr/src/
Makefile:976: "Cannot use CONFIG_
CC [M] /var/lib/
In file included from /var/lib/
/var/lib/
/var/lib/
ptimer->data = (unsigned long)cntx;
^
/var/lib/
init_
^
In file included from /var/lib/
/var/lib/
/var/lib/
allow_
^
/var/lib/
/var/lib/
if (signal_pending (current))
^
/var/lib/
flush_
^
cc1: some warnings being treated as errors
scripts/
make[2]: *** [/var/lib/
Makefile:1552: recipe for target '_module_
make[1]: *** [_module_
make[1]: Leaving directory '/usr/src/
Makefile:1459: recipe for target 'modules' failed
make: *** [modules] Error 2