rtlwifi-linux / rtlwifi-next

GNU General Public License v2.0
70 stars 39 forks source link

Compile error on Arch Linux 4.11.9-1 ARCH #4

Open juicetin opened 7 years ago

juicetin commented 7 years ago

When running make, it produces the following error:

make -C /lib/modules/4.11.9-1-ARCH/build M=/home/me/programs/rtlwifi-next modules 
make[1]: Entering directory /usr/lib/modules/4.11.9-1-ARCH/build 
make[1]: *** No rule to make target 'modules'. Stop. 
make[1]: Leaving directory '/usr/lib/modules/4.11.9-1-ARCH/build 
make: *** [Makefile:100: all] Error 2

It appears that another Arch user can compile without any problems using the same kernel version as seen here: https://bbs.archlinux.org/viewtopic.php?id=227376.

If it helps, the only file in my /usr/lib/modules/4.11.9-1-ARCH/build folder is vmlinux. The /usr/lib/modules/4.11.9-1-ARCH/ directory itself has files such as modules.alias, modules.alias.bin, and many others, while the kernel folder in this directory has a directory with the full path /usr/lib/modules/4.11.9-1-ARCH/kernel/drivers/net/wireless/realtek/rtlwifi - this seems like it may be more relevant. Each rtlxxxxx folder in this directory has a ko.gz file. I tried substituting in some possibly related in directories into the KSRC variable, but with the same error related to no rule to make target modules each time.

Are there further steps I could take to debug why this issue is occurring?