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上了。