So i wanted to build the driver for my wifi adapter for my raspberry pi 400: https://github.com/morrownr/88x2bu-20210702
And i did everything what was said and then got the error: Your kernel files are not properly installed.
So i send in my issue there and I was told the kernel and header version has to be the same. My kernel version is 6.1.21-v8+ and my header version is 6.1.21+. Now how do i fix this (I tried sudo apt install raspberrypi-kernel and raspberrypi-kernel-headers already but didnt help.
ls -l /lib/modules/6.1.21-v8+/build
- did you install 64bit pi OS, or are you just running the 64bit kernel with 32bit "userland"