Using 2.6.x kernel build system.
make:进入目录’/tmp/modconfig-W024vp/vmci-only’
/usr/bin/make -C /lib/modules/3.8.0-19-generic/build/include/… SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: 正在进入目录 /usr/src/linux-headers-3.8.0-19-generic' CC [M] /tmp/modconfig-W024vp/vmci-only/linux/driver.o CC [M] /tmp/modconfig-W024vp/vmci-only/linux/vmciKernelIf.o /tmp/modconfig-W024vp/vmci-only/linux/driver.c:127:4: 错误: 隐式声明函数‘__devexit_p’ [-Werror=implicit-function-declaration] /tmp/modconfig-W024vp/vmci-only/linux/driver.c:127:4: 错误: 初始值设定元素不是常量 /tmp/modconfig-W024vp/vmci-only/linux/driver.c:127:4: 错误: (在‘vmci_driver.remove’的初始化附近) /tmp/modconfig-W024vp/vmci-only/linux/driver.c:1754:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vmci_probe_device’ /tmp/modconfig-W024vp/vmci-only/linux/driver.c:1982:1: 错误: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vmci_remove_device’ /tmp/modconfig-W024vp/vmci-only/linux/driver.c:119:12: 警告: ‘vmci_probe_device’使用过但从未定义 [默认启用] /tmp/modconfig-W024vp/vmci-only/linux/driver.c:121:13: 警告: ‘vmci_remove_device’使用过但从未定义 [默认启用] /tmp/modconfig-W024vp/vmci-only/linux/driver.c:2063:1: 警告: ‘vmci_interrupt’定义后未使用 [-Wunused-function] 义后未使用 [-Wunused-function] /tmp/modconfig-W024vp/vmci-only/linux/driver.c:2137:1: 警告: ‘vmci_interrupt_bm’定义后未使用 [-Wunused-function] /tmp/modconfig-W024vp/vmci-only/linux/driver.c:1717:1: 警告: ‘vmci_enable_msix’定义后未使用 [-Wunused-function] cc1: some warnings being treated as errors make[2]: *** [/tmp/modconfig-W024vp/vmci-only/linux/driver.o] 错误 1 make[2]: *** 正在等待未完成的任务.... make[1]: *** [_module_/tmp/modconfig-W024vp/vmci-only] 错误 2 make[1]:正在离开目录
/usr/src/linux-headers-3.8.0-19-generic’
make: *** [vmci.ko] 错误 2
make:离开目录“/tmp/modconfig-W024vp/vmci-only”
The VM communication interface socket family is used in conjunction with the VM
communication interface to provide a new communication path among guests and
host. The rest of this software provided by VMware Tools is designed to work
independently of this feature. If you wish to have the VSOCK feature you can
install the driver by running vmware-config-tools.pl again after making sure
that gcc, binutils, make and the kernel sources for your running kernel are
installed on your machine. These packages are available on your distribution’s
installation CD.