Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtl8822bu-dkms: Module Fails to Build on Recent Kernels and Lacks Proper Dependencies #34190

Closed
BlindRepublic opened this issue Nov 21, 2021 · 1 comment
Labels

Comments

@BlindRepublic
Copy link
Contributor

System

  • xuname: Void 5.13.19_1 x86_64 GenuineIntel uptodate rFFFFF

  • package:
    affected package(s) including the version: rtl8822bu-dkms-20201222_1

Expected behavior

The module compiles and properly enables Wifi with the adapter.

Actual behavior

The compilation of the module fails due to not having bc installed and gets farther into the process after installing the package before failing once more.

There are other repositories on Github that seem to have a working driver with recent kernels. The following have worked for me:

Error in module build process with bc installed:

  CC [M]  /var/lib/dkms/88x2bu/20201222/build/os_dep/linux/recv_linux.o
/var/lib/dkms/88x2bu/20201222/build/os_dep/linux/recv_linux.c: In function 'napi_recv':
/var/lib/dkms/88x2bu/20201222/build/os_dep/linux/recv_linux.c:357:55: error: 'GRO_DROP' undeclared (first use in this function)
  357 |    if (rtw_napi_gro_receive(&padapter->napi, pskb) != GRO_DROP)
      |                                                       ^~~~~~~~
/var/lib/dkms/88x2bu/20201222/build/os_dep/linux/recv_linux.c:357:55: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [scripts/Makefile.build:273: /var/lib/dkms/88x2bu/20201222/build/os_dep/linux/recv_linux.o] Error 1
make[1]: *** [Makefile:1867: /var/lib/dkms/88x2bu/20201222/build] Error 2
make[1]: Leaving directory '/usr/src/kernel-headers-5.13.19_1'
make: *** [Makefile:2013: modules] Error 2

Steps to reproduce the behavior

  1. Install bc
  2. Install rtl8822bu-dkms
@github-actions
Copy link

Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant