brektrou / rtl8821CU

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

Another hasty fix for 6.1 kernel #202

Open ylxdzsw opened 1 year ago

ylxdzsw commented 1 year ago
iQiexie commented 1 year ago

doesn't work for 6.1.5 :(

 71 /var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.c:2618:16: error: implicit declaration of function ‘prandom_u32’; did you mean ‘prandom_u32_max’? [-Werror=implicit-function-declaration]
 72  2618 |         return prandom_u32();
 73       |                ^~~~~~~~~~~
 74       |                prandom_u32_max
 75 cc1: some warnings being treated as errors
 76 make[2]: *** [scripts/Makefile.build:250: /var/lib/dkms/rtl8821CU/5.4.1/build/os_dep/osdep_service.o] Error 1
 77 make[1]: *** [Makefile:1992: /var/lib/dkms/rtl8821CU/5.4.1/build] Error 2
 78 make[1]: Leaving directory '/usr/lib/modules/6.1.5-arch2-1/build'
 79 make: *** [Makefile:2217: modules] Error 2
iQiexie commented 1 year ago

worked with running

$ make $ sudo make install

Instead of

$ sudo ./dkms-install.sh

Thanks for the fix ❤

lmaxyz commented 1 year ago

Like in @Neykuratick 's case - dkms installation hasn't worked. But make and make install works instead.

fancywriter commented 1 year ago

Hello! Any plans for merging it?