brektrou / rtl8821CU

Realtek RTL8811CU/RTL8821CU USB Wi-Fi adapter driver for Linux
GNU General Public License v2.0
1.58k stars 458 forks source link

5.19.0-0.deb11.2-amd64ereor #191

Open birdofprey opened 1 year ago

birdofprey commented 1 year ago

os:Debian Gnu/Linux 11.5 kernel:Linux localhost 5.19.0-0.deb11.2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.19.11-1~bpo11+1 (2022-10-03) x86_64 GNU/Linux

22:28:37[root@localhost /home/birdofprey/rtl8821CU]# ./dkms-install.sh About to run dkms install steps... Error! DKMS tree already contains: rtl8821CU-5.4.1 You cannot add the same module/version combo more than once.

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area... 'make' KVER=5.19.0-0.deb11.2-amd64.........................(bad exit status: 2) Error! Bad return status for module build on kernel: 5.19.0-0.deb11.2-amd64 (x86_64) Consult /var/lib/dkms/rtl8821CU/5.4.1/build/make.log for more information.

Kernel preparation unnecessary for this kernel. Skipping...

Building module: cleaning build area... 'make' KVER=5.19.0-0.deb11.2-amd64.........................(bad exit status: 2) Error! Bad return status for module build on kernel: 5.19.0-0.deb11.2-amd64 (x86_64) Consult /var/lib/dkms/rtl8821CU/5.4.1/build/make.log for more information. Finished running dkms install steps.

nerun commented 1 year ago

This PR worked for me in Linux Mint 21.1 and kernel 5.19.0-41-generic. I can compile with make -j $(nproc).

This PR also includes PR #167 and #168.