|

楼主 |
发表于 2010-5-20 18:35:06
|
显示全部楼层
感谢各位的回帖。尤其是3楼,4楼,和6楼的兄弟。
的确是只需要安装 kernel26-header就可以了。实际上我是给[color="Red"]Vmware7.01中的archlinux安装 vmtools时候出现的问题。本来已经安装 内核头文件的,但是安装vmtools依然说路径不对,遂以为需要内核源码包,此问题已经通过参考wiki中vmware页的方法解决了。
Compile Modules Problem
VMware and kernel 2.6.33
Note: not needed with vmware 7.x.x
The underlying problem here is that vmware does not look for the header files in the proper location. It is looking in /usr/src/arch-VERSION/include/ while some important header files are in /usr/src/arch-VERSION/include/linux. The solution is simple. As root do:
cd /usr/src/linux-2.6.33-ARCH/include/linux
ln -s ../generated/version.h .
ln -s ../generated/utsrelease.h .
ln -s ../generated/autoconf.h . 参考链接
http://wiki.archlinux.org/index.php/Vmware |
|