rtlwifi-linux / rtlwifi-next

GNU General Public License v2.0
70 stars 39 forks source link

setup_timer failing kubuntu 18.04 #11

Open Vlku272 opened 6 years ago

Vlku272 commented 6 years ago

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.

skyh24 commented 6 years ago

f*ck same problem

Vlku272 commented 6 years ago

Solved it here: https://github.com/lwfinger/rtlwifi_new/issues/394