Before you can compile modules, you need tohave the following installed...
make
gcc
kernel header of the running kernel
searching for GCC
Detected GCC binary at "usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
would you like to change it? [no] no (我输入的no)
Searching for a valid kernel header path
The path " " is not a valid path to linux-headers-3.5.0-17.
Would you like to change it? [yes](我输入的yes)
Enter the path to the kernel header files for the linux-headers-3.5.0-17? (我的ubuntu /usr/src/下有这个linux-headers-3.5.0-17,但是我输入这个路径也解决不了问题)
后来多方查找发现是没有linux-headers-3.5.0-17 -generic包。参考网址:
http://www.cnblogs.com/SelaSelah/archive/2013/02/17/2914412.html
http://www.2cto.com/os/201308/236037.html
sudo ./vmware-install.pl
回车,这个我的文件可以从win7上共享到ubuntu上了。
在Ubuntu 12.10中,为了解决VMware Tools的文件共享问题,需要安装必要的依赖如make和gcc,以及对应内核的头文件。在寻找并安装linux-headers-3.5.0-17-generic包后,通过运行sudo ./vmware-install.pl命令,成功实现了文件共享功能。

被折叠的 条评论
为什么被折叠?



