红联Linux门户
Linux帮助

Ubuntu 12.04 VMware tools 配置过程失败,重启后没效果,求救啊

发布时间:2012-05-21 02:39:21来源:红联作者:
『还有个问题写前边点吧方便看
我看网上说的想更改xorg.conf文件,但是X11目录下没有这个文件
这是为啥啊,已经重装了一次,确定不是误删掉,只有下面这些东西
SD@astaroth-virtual-machine:/etc/X11$ ls
app-defaults fonts xinit Xreset.d Xsession.d
ursors rgb.txt xkb Xresources Xsession.options
default-display-manager X Xreset Xsession Xwrapper.config』

VMware用的是7
前边提示安装成功了 后边配置的时候一路回车显示下边那样.

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]

Initializing...


Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Virtual Printing daemon: done
Unmounting HGFS shares: done
Guest filesystem driver: done



Before you can compile modules, you need to have the following installed...

make
gcc
kernel headers 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]

Searching for a valid kernel header path...
Detected the kernel headers of the running kernel at
"/lib/modules/3.2.0-23-generic-pae/build/include".
The path "/lib/modules/3.2.0-23-generic-pae/build/include" appears to be a
valid path to the kernel headers of the running kernel.
Would you like to change it? [no]

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmmemctl-only'
make -C /lib/modules/3.2.0-23-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-3.2.0-23-generic-pae'
CC [M] /tmp/vmware-root/modules/vmmemctl-only/backdoorGcc32.o
CC [M] /tmp/vmware-root/modules/vmmemctl-only/os.o
CC [M] /tmp/vmware-root/modules/vmmemctl-only/vmballoon.o
LD [M] /tmp/vmware-root/modules/vmmemctl-only/vmmemctl.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-root/modules/vmmemctl-only/vmmemctl.mod.o
LD [M] /tmp/vmware-root/modules/vmmemctl-only/vmmemctl.ko
make[1]:正在离开目录 `/usr/src/linux-headers-3.2.0-23-generic-pae'
make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: 正在进入目录 `/tmp/vmware-root/modules/vmmemctl-only'
make[1]: “postbuild”是最新的。
make[1]:正在离开目录 `/tmp/vmware-root/modules/vmmemctl-only'
cp -f vmmemctl.ko ./../vmmemctl.o
make:离开目录“/tmp/vmware-root/modules/vmmemctl-only”

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmhgfs-only'
make -C /lib/modules/3.2.0-23-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-3.2.0-23-generic-pae'
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: 警告: 从不兼容的指针类型初始化 [默认启用]
/tmp/vmware-root/modules/vmhgfs-only/file.c:120:4: 警告: (在‘HgfsFileFileOperations.fsync’的初始化附近) [默认启用]
CC [M] /tmp/vmware-root/modules/vmhgfs-only/filesystem.o
/tmp/vmware-root/modules/vmhgfs-only/filesystem.c:48:28: 致命错误: linux/smp_lock.h:没有那个文件或目录
编译中断。
make[2]: *** [/tmp/vmware-root/modules/vmhgfs-only/filesystem.o] 错误 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmhgfs-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.2.0-23-generic-pae'
make: *** [vmhgfs.ko] 错误 2
make:离开目录“/tmp/vmware-root/modules/vmhgfs-only”

The filesystem driver (vmhgfs module) is used only for the shared folder
feature. The rest of the software provided by VMware Tools is designed to work
independently of this feature.

If you wish to have the shared folders 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.
[ Press Enter key to continue ]

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmxnet-only'
make -C /lib/modules/3.2.0-23-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-3.2.0-23-generic-pae'
CC [M] /tmp/vmware-root/modules/vmxnet-only/vmxnet.o
In file included from /tmp/vmware-root/modules/vmxnet-only/vmxnet.c:36:0:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:186:0: 警告: “alloc_netdev”重定义 [默认启用]
include/linux/netdevice.h:2443:0: 附注: 这是先前定义的位置
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:187:0: 警告: “alloc_etherdev”重定义 [默认启用]
include/linux/etherdevice.h:53:0: 附注: 这是先前定义的位置
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:208:1: 错误: 与‘netif_start_queue’类型冲突
include/linux/netdevice.h:1809:20: 附注: ‘netif_start_queue’的上一个定义在此
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: 在函数‘netif_start_queue’中:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:210:21: 错误: ‘struct device’没有名为‘tbusy’的成员
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: 在文件作用域:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:214:1: 错误: 与‘netif_stop_queue’类型冲突
include/linux/netdevice.h:1874:20: 附注: ‘netif_stop_queue’的上一个定义在此
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: 在函数‘netif_stop_queue’中:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:216:19: 错误: ‘struct device’没有名为‘tbusy’的成员
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: 在文件作用域:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:220:1: 错误: 与‘netif_queue_stopped’类型冲突
include/linux/netdevice.h:1900:19: 附注: ‘netif_queue_stopped’的上一个定义在此
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: 在函数‘netif_queue_stopped’中:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:222:11: 错误: ‘struct device’没有名为‘tbusy’的成员
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:222:11: 错误: ‘struct device’没有名为‘tbusy’的成员
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: 在文件作用域:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:226:1: 错误: 与‘netif_wake_queue’类型冲突
include/linux/netdevice.h:1843:20: 附注: ‘netif_wake_queue’的上一个定义在此
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: 在函数‘netif_wake_queue’中:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:228:21: 错误: ‘struct device’没有名为‘tbusy’的成员
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:229:4: 错误: 隐式声明函数‘mark_bh’ [-Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:229:12: 错误: ‘NET_BH’未声明(在此函数内第一次使用)
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:229:12: 附注: 每个未声明的标识符在其出现的函数内只报告一次
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: 在文件作用域:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:233:1: 错误: 与‘netif_running’类型冲突
include/linux/netdevice.h:1916:19: 附注: ‘netif_running’的上一个定义在此
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: 在函数‘netif_running’中:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:235:14: 错误: ‘struct device’没有名为‘start’的成员
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h: 在文件作用域:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:239:1: 错误: 与‘netif_carrier_ok’类型冲突
include/linux/netdevice.h:2150:19: 附注: ‘netif_carrier_ok’的上一个定义在此
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:245:1: 错误: 与‘netif_carrier_on’类型冲突
include/linux/netdevice.h:2159:13: 附注: ‘netif_carrier_on’的上一个声明在此
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:250:1: 错误: 与‘netif_carrier_off’类型冲突
include/linux/netdevice.h:2161:13: 附注: ‘netif_carrier_off’的上一个声明在此
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_get_settings’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:321:4: 警告: 传递‘netif_carrier_ok’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:239:1: 附注: 需要类型‘struct device *’,但实参的类型为‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_get_drvinfo’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:352:32: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_set_tso’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:390:35: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_tx_timeout’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:714:4: 警告: 传递‘netif_wake_queue’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:226:1: 附注: 需要类型‘struct device *’,但实参的类型为‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_link_check’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:740:32: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:746:4: 警告: 传递‘netif_carrier_ok’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:239:1: 附注: 需要类型‘struct device *’,但实参的类型为‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:748:10: 警告: 传递‘netif_carrier_on’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:245:1: 附注: 需要类型‘struct device *’,但实参的类型为‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:750:10: 警告: 传递‘netif_carrier_off’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:250:1: 附注: 需要类型‘struct device *’,但实参的类型为‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_probe_device’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:983:4: 错误: 隐式声明函数‘alloc_etherdev’ [-Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:983:8: 警告: 赋值时将整数赋给指针,未作类型转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:989:9: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1003:7: 错误: ‘struct net_device’没有名为‘open’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1004:7: 错误: ‘struct net_device’没有名为‘hard_start_xmit’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1005:7: 错误: ‘struct net_device’没有名为‘stop’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1006:7: 错误: ‘struct net_device’没有名为‘get_stats’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1007:7: 错误: ‘struct net_device’没有名为‘set_multicast_list’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1012:7: 错误: ‘struct net_device’没有名为‘tx_timeout’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1015:7: 错误: ‘struct net_device’没有名为‘poll_controller’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1018:7: 错误: ‘struct net_device’没有名为‘set_mac_address’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_probe_features’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1148:32: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_remove_device’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1383:32: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_suspend_device’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1481:32: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_resume_device’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1541:32: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_init_ring’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1619:32: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_open’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1747:32: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1784:4: 警告: 传递‘netif_start_queue’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:208:1: 附注: 需要类型‘struct device *’,但实参的类型为‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_map_pkt’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1926:32: 错误: ‘pci_map_page’的第 2 个实参类型不兼容
include/asm-generic/pci-dma-compat.h:43:1: 附注: 需要类型‘struct page *’,但实参的类型为‘struct <匿名>’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:1945:26: 错误: ‘pci_map_page’的第 2 个实参类型不兼容
include/asm-generic/pci-dma-compat.h:43:1: 附注: 需要类型‘struct page *’,但实参的类型为‘struct <匿名>’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘check_tx_queue’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2008:32: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2047:7: 警告: 传递‘netif_queue_stopped’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:220:1: 附注: 需要类型‘struct device *’,但实参的类型为‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2048:10: 警告: 传递‘netif_wake_queue’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:226:1: 附注: 需要类型‘struct device *’,但实参的类型为‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_tx’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2079:32: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2127:10: 警告: 传递‘netif_stop_queue’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:214:1: 附注: 需要类型‘struct device *’,但实参的类型为‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2257:10: 警告: 传递‘netif_stop_queue’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:214:1: 附注: 需要类型‘struct device *’,但实参的类型为‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_rx_frags’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2439:48: 错误: 将‘struct page *’赋值给‘struct <匿名>’时类型不兼容
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_rx’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2486:32: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_interrupt’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2616:9: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2639:4: 警告: 传递‘netif_queue_stopped’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:220:1: 附注: 需要类型‘struct device *’,但实参的类型为‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2640:7: 警告: 传递‘netif_wake_queue’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:226:1: 附注: 需要类型‘struct device *’,但实参的类型为‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_close’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2700:32: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2712:4: 警告: 传递‘netif_stop_queue’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:214:1: 附注: 需要类型‘struct device *’,但实参的类型为‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_load_multicast’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2793:32: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2795:34: 错误: ‘struct net_device’没有名为‘mc_list’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2805:24: 错误: ‘struct net_device’没有名为‘mc_count’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2806:13: 错误: 提领指向不完全类型的指针
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2807:13: 错误: 提领指向不完全类型的指针
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_set_multicast_list’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2854:32: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_set_mac_address’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2911:4: 警告: 传递‘netif_running’的第 1 个参数时在不兼容的指针类型间转换 [默认启用]
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:233:1: 附注: 需要类型‘struct device *’,但实参的类型为‘struct net_device *’
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘vmxnet_get_stats’中:
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c:2941:25: 错误: ‘struct net_device’没有名为‘priv’的成员
/tmp/vmware-root/modules/vmxnet-only/vmxnet.c: 在函数‘netif_queue_stopped’中:
/tmp/vmware-root/modules/vmxnet-only/./shared/compat_netdevice.h:223:1: 警告: 在有返回值的函数中,控制流程到达函数尾 [-Wreturn-type]
cc1: some warnings being treated as errors
make[2]: *** [/tmp/vmware-root/modules/vmxnet-only/vmxnet.o] 错误 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmxnet-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.2.0-23-generic-pae'
make: *** [vmxnet.ko] 错误 2
make:离开目录“/tmp/vmware-root/modules/vmxnet-only”

The fast network device driver (vmxnet module) is used only for our fast
networking interface. The rest of the software provided by VMware Tools is
designed to work independently of this feature.
If you wish to have the fast network driver enabled, 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.
[ Press Enter key to continue ]

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmblock-only'
make -C /lib/modules/3.2.0-23-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-3.2.0-23-generic-pae'
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/block.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/control.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/dbllnklst.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/dentry.o
/tmp/vmware-root/modules/vmblock-only/linux/dentry.c: 在函数‘DentryOpRevalidate’中:
/tmp/vmware-root/modules/vmblock-only/linux/dentry.c:107:4: 错误: 隐式声明函数‘path_lookup’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [/tmp/vmware-root/modules/vmblock-only/linux/dentry.o] 错误 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmblock-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.2.0-23-generic-pae'
make: *** [vmblock.ko] 错误 2
make:离开目录“/tmp/vmware-root/modules/vmblock-only”

The vmblock module enables dragging or copying files from within a host and
dropping or pasting them onto your guest (host to guest drag and drop and file
copy/paste). The rest of the software provided by VMware Tools is designed to
work independently of this feature (including guest to host drag and drop and
file copy/paste).

If you would like the host to guest drag and drop and file copy/paste features,
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.
[ Press Enter key to continue ]

[EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a new feature that
creates backups of virtual machines. Please refer to the VMware Knowledge Base
for more details on this capability. Do you wish to enable this feature?
[no]

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmci-only'
make -C /lib/modules/3.2.0-23-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-3.2.0-23-generic-pae'
CC [M] /tmp/vmware-root/modules/vmci-only/kernelStubsLinux.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciDatagram.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciEvent.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciGuestDs.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciGuestKernelIf.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciKernelIf.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciProcess.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciQueuePair.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciUtil.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmci_drv.o
/tmp/vmware-root/modules/vmci-only/vmci_drv.c:96:4: 错误: 初始值设定项里有未知的字段‘ioctl’
/tmp/vmware-root/modules/vmci-only/vmci_drv.c:96:4: 警告: 从不兼容的指针类型初始化 [默认启用]
/tmp/vmware-root/modules/vmci-only/vmci_drv.c:96:4: 警告: (在‘vmci_ops.fsync’的初始化附近) [默认启用]
/tmp/vmware-root/modules/vmci-only/vmci_drv.c: 在函数‘vmci_init’中:
/tmp/vmware-root/modules/vmci-only/vmci_drv.c:156:4: 错误: 隐式声明函数‘init_MUTEX’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [/tmp/vmware-root/modules/vmci-only/vmci_drv.o] 错误 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmci-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.2.0-23-generic-pae'
make: *** [vmci.ko] 错误 2
make:离开目录“/tmp/vmware-root/modules/vmci-only”

The communication service is used in addition to the standard communication
between the guest and the host. The rest of the software provided by VMware
Tools is designed to work independently of this feature.
If you wish to have the VMCI 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.
[ Press Enter key to continue ]

Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmci-only'
make -C /lib/modules/3.2.0-23-generic-pae/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-3.2.0-23-generic-pae'
CC [M] /tmp/vmware-root/modules/vmci-only/kernelStubsLinux.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciDatagram.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciEvent.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciGuestDs.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciGuestKernelIf.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciKernelIf.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciProcess.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciQueuePair.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciUtil.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmci_drv.o
/tmp/vmware-root/modules/vmci-only/vmci_drv.c:96:4: 错误: 初始值设定项里有未知的字段‘ioctl’
/tmp/vmware-root/modules/vmci-only/vmci_drv.c:96:4: 警告: 从不兼容的指针类型初始化 [默认启用]
/tmp/vmware-root/modules/vmci-only/vmci_drv.c:96:4: 警告: (在‘vmci_ops.fsync’的初始化附近) [默认启用]
/tmp/vmware-root/modules/vmci-only/vmci_drv.c: 在函数‘vmci_init’中:
/tmp/vmware-root/modules/vmci-only/vmci_drv.c:156:4: 错误: 隐式声明函数‘init_MUTEX’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [/tmp/vmware-root/modules/vmci-only/vmci_drv.o] 错误 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmci-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.2.0-23-generic-pae'
make: *** [vmci.ko] 错误 2
make:离开目录“/tmp/vmware-root/modules/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.
[ Press the Enter key to continue.]

The module vmxnet3 has already been installed on this system by another
installer or package and will not be modified by this installer. Use the flag
--clobber-kernel-modules=vmxnet3 to override.

The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer. Use the flag
--clobber-kernel-modules=pvscsi to override.



Detected X.org version 7.10.3.



No drivers for X.org version: 7.10.3.

Skipping X configuration because X drivers are not included.

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-3.2.0-23-generic-pae
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Guest memory manager: done
File system sync driver: done
Guest operating system daemon: done
Virtual Printing daemon: done

The configuration of VMware Tools 8.1.4 build-227600 for Linux for this running
kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X server session.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

Enjoy,

--the VMware team

Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
文章评论

共有 5 条评论

  1. 于 2012-07-19 12:15:13发表:

    sudo apt-get install linux-headers-***

    然后再安装

  2. fantlam 于 2012-05-21 17:51:15发表:

    蛋疼 我安过ubuntu N次 默认下去 十分顺利 http://www.linuxsight.com/blog/4110

  3. 于 2012-05-21 16:56:17发表:

    被VMWARE qj了,要不换vbox吧

  4. wonderful5115 于 2012-05-21 12:50:01发表:

    哗哗,第一次见到这种问题、我举足无措

  5. 于 2012-05-21 09:06:39发表:

    顶顶 求解答