본문 바로가기
ubuntu/general

VMWare VM Tool 설치

by lifeseed 2014. 6. 10.
VMWare 9.x 수정 파일 :: vmware-tools-distrib/lib/modules/source/

vmblock.tar

vmci.tar

vmhgfs.tar

vmsync.tar

 

 

cf) http://philbayfield.com/2013/05/21/patching-vmware-tools-to-fix-multiple-installation-errors-on-ubuntu-13-04/

 

$ sudo apt-get install build-essential

 

Issue 1 – Cannot find kernel headers

sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h

 

Issue 2 – Build of vmci fails   (  vmware-vmci.patch)

make[1]: Entering directory `/usr/src/linux-headers-3.8.0-21-generic'
  CC [M]  /tmp/modconfig-9TKqy8/vmci-only/linux/driver.o
/tmp/modconfig-9TKqy8/vmci-only/linux/driver.c:127:4: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]

 

 

cd ~
wget http://cdn.philbayfield.com/downloads/vmware-vmci.patch
cd ~/vmware-tools-distrib/lib/modules/source/
tar xf vmci.tar
cd vmci-only/
patch -p1 < ~/vmware-vmci.patch
cd ..
tar cf vmci.tar vmci-only 

 

 

Issue 3 – Build of vmhgfs fails (  vmware-vmhgfs.patch)

 /tmp/modconfig-wKpbjb/vmhgfs-only/inode.c:878:4: error: implicit declaration of function ‘vmtruncate’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

 

cd ~
wget http://cdn.philbayfield.com/downloads/vmware-vmhgfs.patch
cd ~/vmware-tools-distrib/lib/modules/source/
tar xf vmhgfs.tar
cd vmhgfs-only/shared/
patch -p1 < ~/vmware-vmhgfs.patch
cd ../..
tar cf vmhgfs.tar vmhgfs-only

 

Issue 4 - Build of vmhgfs fails

(    vmware_90_linux-3.6.x_patcher.sh)

/tmp/modconfig-wKpbjb/vmhgfs-only/inode.c:1820:7: error: 'struct hlist_head' has no member named 'next'

 

ref:: https://communities.vmware.com/message/2129675

wget -c http://communities.vmware.com/servlet/JiveServlet/download/2130250-97226/vmware_90_linux-3.6.x_patcher.sh

chmod +x vmware_90_linux-3.6.x_pacher.sh

./vmware_90_linux-3.6.x_pacher.sh