[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RTL8821CE wifi can't work on Debian10



hi ,
i installed debian 10 on my thinkpad e470c, but wifi can't work.

i fond the driver on https://github.com/endlessm/linux/tree/master/drivers/net/wireless/rtl8821ce, but after make , i got error:

/home/wjm/Templates/rtl8821ce-git20190810/os_dep/linux/rtw_android.c: In function ‘rtw_android_priv_cmd’:
/home/wjm/Templates/rtl8821ce-git20190810/os_dep/linux/rtw_android.c:665:49: error: macro "access_ok" requires 3 arguments, but only 2 given
  if (!access_ok(priv_cmd.buf, priv_cmd.total_len)) {
                                                 ^
/home/wjm/Templates/rtl8821ce-git20190810/os_dep/linux/rtw_android.c:665:7: error: ‘access_ok’ undeclared (first use in this function)
  if (!access_ok(priv_cmd.buf, priv_cmd.total_len)) {
       ^~~~~~~~~
/home/wjm/Templates/rtl8821ce-git20190810/os_dep/linux/rtw_android.c:665:7: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [/usr/src/linux-headers-4.19.0-5-common/scripts/Makefile.build:309:/home/wjm/Templates/rtl8821ce-git20190810/os_dep/linux/rtw_android.o] error 1
make[3]: *** [/usr/src/linux-headers-4.19.0-5-common/Makefile:1539:_module_/home/wjm/Templates/rtl8821ce-git20190810] error 2
make[2]: *** [Makefile:146:sub-make] error 2
make[1]: *** [Makefile:8:all] error  2
make[1]: leave “/usr/src/linux-headers-4.19.0-5-amd64”
make: *** [Makefile:2237:modules] error 2

So, i need your help.Tell me how can i do.

Thanks a lot!


Reply to: