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

does not build on Gentoo 5.15.41 #180

Open UrsusArctos opened 1 year ago

UrsusArctos commented 1 year ago

Vecanoi ~ # mkdir -p ~/build Vecanoi ~ # cd ~/build Vecanoi ~/build # git clone https://github.com/brektrou/rtl8821CU.git Cloning into 'rtl8821CU'... remote: Enumerating objects: 1743, done. remote: Total 1743 (delta 0), reused 0 (delta 0), pack-reused 1743 Receiving objects: 100% (1743/1743), 7.70 MiB | 13.94 MiB/s, done. Resolving deltas: 100% (737/737), done. Vecanoi ~/build # cd ~/build/rtl8821CU Vecanoi ~/build/rtl8821CU # make make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.15.41-gentoo/build M=/root/build/rtl8821CU modules make[1]: /lib/modules/5.15.41-gentoo/build: No such file or directory. Stop. make: [Makefile:2217: modules] Error 2 Vecanoi ~/build/rtl8821CU # uname -a Linux Vecanoi 5.15.41-gentoo #2 SMP Sun Jun 12 23:46:43 UTC 2022 x86_64 AMD Athlon(tm) X4 840 Quad Core Processor AuthenticAMD GNU/Linux Vecanoi ~/build/rtl8821CU #

What obvious thing am I missing here?