When I installed VMwareTools in Ubuntu11.10, I thought it was smooth at first. Just press ENTER YES. As a result, the following message is displayed: to install vmwaretools, you must first install gcc and the kernel header file SearchingforGCC... detectedGCCbinaryat "/usr/bin/gcc ". thepath "/usr/bin/gcc" appearstob when installing VMware Tools in Ubuntu 11.10, I thought it was very smooth at first, just press ENTER YES. The following prompt is displayed: To install vmware tools, you must first install gcc and the kernel header file.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. wocould you like to change it? [No]
As a result, Baidu once found a saying: Run the following command on the terminal: Cd/usr/src/linux-headers-2.6.35-22-generic/include Cp-p generated/utsrelease. h linux/utsrelease. h Cp-p generated/autoconf. h linux/autoconf. h Solve the previous problem in this way!But is there a problem ?? : Using 2.6.x kernel build system. make: Enter the directory '/tmp/vmware-root/modules/vmhgfs-only' make-C/lib/modules/3.0.0-12-generic/build/include /.. SUBDIRS = $ pwd srcroot = $ PWD /. \ MODULEBUILDDIR = modulesmake [1]: Entering the directory '/usr/src/linux-headers-3.0.0-12-generic' CC [M] /Tmp/vmware-root/modules/vmhgfs-only/backdoor. o CC [M] /Tmp/vmware-root/modules/vmhgfs-only/backdoorGcc32.o CC [M] /Tmp/vmware-root/modules/vmhgfs-only/bdhandler. o CC [M] /Tmp/vmware-root/modules/vmhgfs-only/cpName. o CC [M] /Tmp/vmware-root/modules/vmhgfs-only/cpNameLinux. o CC [M] /Tmp/vmware-root/modules/vmhgfs-only/cpNameLite. o CC [M] /Tmp/vmware-root/modules/vmhgfs-only/dentry. o CC [M] /Tmp/vmware-root/modules/vmhgfs-only/dir. o CC [M] /Tmp/vmware-root/modules/vmhgfs-only/file. o/tmp/vmware-root/modules/vmhgfs-only/file. c: 120: 4: Warning: incompatible pointer type initialization [enabled by default]/tmp/vmware-root/modules/vmhgfs-only/file. c: 120: 4: Warning: (IN 'hgfsfileoperations. near fsync 'initialization) [enabled by default] CC [M] /Tmp/vmware-root/modules/vmhgfs-only/filesystem. o/tmp/vmware-root/modules/vmhgfs-only/filesystem. c: 48: 28: Fatal error: linux/smp_lock.h: No file or directory compilation interruption. Make [2]: *** [/tmp/vmware-root/modules/vmhgfs-only/filesystem. o] Error 1 make [1]: *** [_ module _/tmp/vmware-root/modules/vmhgfs-only] Error 2 make [1]: leaving directory '/usr/src/linux-headers-3.0.0-12-generic' make: *** [vmhgfs. ko] Error 2 make: Leave the directory "/tmp/vmware-root/modules/vmhgfs-only" (I am dizzy !!)
After a long time, Baidu could not find a solution, so I decided! I want to install ubuntu11.04 !!
Finally, my solution is to upgrade the Vmware version. It turns out that the old version of Vmware tools is not compatible with ubuntu, so sometimes we still need to follow up on the version, or else we will die.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service