Debian 10용 rtl8821ce 드라이버를 빌드할 수 없습니다.

Debian 10용 rtl8821ce 드라이버를 빌드할 수 없습니다.

endendm 및 tomaspinho 드라이버를 설치하려고 시도했지만 make를 완료한 후에도 동일한 오류가 발생했습니다.

/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

도움이 필요하세요?

답변1

관련 정보