aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
GNU General Public License v2.0
3.55k stars 779 forks source link

Build fails on Fedora 35 #903

Open mossymossmoss opened 3 years ago

mossymossmoss commented 3 years ago

Getting the following issue when trying to install on fedora with all the correct packages:

mkdir -p /usr/src/8812au-5.6.4.2_35491.20191025
cp -r * /usr/src/8812au-5.6.4.2_35491.20191025
dkms add -m 8812au -v 5.6.4.2_35491.20191025
Creating symlink /var/lib/dkms/8812au/5.6.4.2_35491.20191025/source -> /usr/src/8812au-5.6.4.2_35491.20191025
dkms build -m 8812au -v 5.6.4.2_35491.20191025
Error! Your kernel headers for kernel 5.14.0-60.fc35.x86_64 cannot be found at /lib/modules/5.14.0-60.fc35.x86_64/build or /lib/modules/5.14.0-60.fc35.x86_64/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
make: *** [Makefile:2304: dkms_install] Error 1
vishytk commented 3 years ago

make sure you have kernel-devel installed.