make:***/lib/modules/2.6.32-279.el6.x86_64/build:没有这样的文件或目录.停止
我从他们的网站上下载了RALINK驱动程序
I downloaded the RALINK driver from their web site
untar -xvf rtl*
然后我在其中运行"make".谷歌搜索建议内核开发"需要安装.
and then i ran "make" in it. google search suggested "kernel-devel" needed to be installed.
我安装了kernel-devel软件包,但仍然出现此错误
i installed the kernel-devel package but i still get this error
make: *** /lib/modules/2.6.32-279.el6.x86_64/build: No such file or directory. Stop.
当我检查该文件是否存在时.我将CD插入/lib/modules/2.6.32-279.el6.x86_64/
when i check to see if that file exists.. i cd into /lib/modules/2.6.32-279.el6.x86_64/
我认为此错误会在"make"命令尝试执行此命令后立即发生
i believe this error happens right after "make" command tries to execute this command
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/2.6.32-279.el6.x86_64/build M=/home/a/Desktop/3/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405 modules
在这里被称为构建"
那为什么为什么没有这样的文件或目录呢?
so why is it saying no such file or directory ?
cd /lib/modules/2.6.32-431.el6.x86_64
sudo rm build
sudo ln -s ../../../usr/src/kernels/2.6.32-431.29.2.el6.x86_64/ build
以上命令为我解决了这个问题但基本上,您必须能够在最后一个命令中使用任何版本的2.6.32 *目录.
The above commands fixed the issue for me But basically you must be able to use any version of 2.6.32* directory in the last command.