make -C /lib/modules/4.15.0-33-generic/build M=/home/******/rtlwifi-next modules make[1]: Entering directory '/usr/src/linux-headers-4.15.0-33-generic' CC [M] /home/******/rtlwifi-next/base.o /home/******/rtlwifi-next/base.c: In function ‘_rtl_init_deferred_work’: /home/******/rtlwifi-next/base.c:460:2: error: implicit declaration of function ‘setup_timer’; did you mean ‘sk_stop_timer’? [-Werror=implicit-function-declaration] setup_timer(&rtlpriv->works.watchdog_timer, ^~~~~~~~~~~ sk_stop_timer cc1: some warnings being treated as errors scripts/Makefile.build:332: recipe for target '/home/******/rtlwifi-next/base.o' failed make[2]: *** [/home/******/rtlwifi-next/base.o] Error 1 Makefile:1552: recipe for target '_module_/home/******/rtlwifi-next' failed make[1]: *** [_module_/home/******/rtlwifi-next] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-33-generic' Makefile:100: recipe for target 'all' failed make: *** [all] Error 2
Saw somewhere that you can replace setup_timer() with timer_setup() but i cant find where setup_timer() even is.
make -C /lib/modules/4.15.0-33-generic/build M=/home/******/rtlwifi-next modules make[1]: Entering directory '/usr/src/linux-headers-4.15.0-33-generic' CC [M] /home/******/rtlwifi-next/base.o /home/******/rtlwifi-next/base.c: In function ‘_rtl_init_deferred_work’: /home/******/rtlwifi-next/base.c:460:2: error: implicit declaration of function ‘setup_timer’; did you mean ‘sk_stop_timer’? [-Werror=implicit-function-declaration] setup_timer(&rtlpriv->works.watchdog_timer, ^~~~~~~~~~~ sk_stop_timer cc1: some warnings being treated as errors scripts/Makefile.build:332: recipe for target '/home/******/rtlwifi-next/base.o' failed make[2]: *** [/home/******/rtlwifi-next/base.o] Error 1 Makefile:1552: recipe for target '_module_/home/******/rtlwifi-next' failed make[1]: *** [_module_/home/******/rtlwifi-next] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-33-generic' Makefile:100: recipe for target 'all' failed make: *** [all] Error 2
Saw somewhere that you can replace setup_timer() with timer_setup() but i cant find where setup_timer() even is.