lwfinger / rtl8723bu

Driver for RTL8723BU
285 stars 145 forks source link

Make error on fedora 30 #154

Closed mefiz0 closed 4 years ago

mefiz0 commented 4 years ago

Upon running make I get the following error: make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.0.9-301.fc30.x86_64/build M=/home/Biscuits/rtl8723bu modules make[1]: *** /lib/modules/5.0.9-301.fc30.x86_64/build: No such file or directory. Stop. make: *** [Makefile:333: modules] Error 2

I can confirm kernel dev and header files packages are installed.

lwfinger commented 4 years ago

Well, make says they are not there. Do ls /lib/modules/5.0.9-301.fc30.x86_64/build to confirm. Does 'uname -r' match that "5.0.9-301.fc30.x86_64"?

mefiz0 commented 4 years ago

uname-r matches. However /build is a directory that does not exist.

lwfinger commented 4 years ago

Then you have not completed the setup. Fedora documentation says that you need kernel-devel and kernel-headers. Use su -c 'yum install kernel-devel kernel-headers' I am not a Fedora user and have no idea if that is all you need.

mefiz0 commented 4 years ago

Fedora says packages are installed. Probably the issue lies somewhere else. Thanks though.

lwfinger commented 4 years ago

When you find what caused this issue, please add the solution here. I will see it and be better able to help the next Fedora user with this problem.