关于在VMware上安装VMware Tools的问题

upc 2008-11-05 11:45:23
我在VMware5.5.3上安装了Linux红旗6.0
现在想安装VMware Tolls但是安装时出错 错误代码如下
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [确定]
Guest filesystem driver: [确定]
Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.22.6-1/build/include]

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config15/vmhgfs-only'
make -C /lib/modules/2.6.22.6-1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.6-1-i686'
CC [M] /tmp/vmware-config15/vmhgfs-only/cpName.o
CC [M] /tmp/vmware-config15/vmhgfs-only/cpNameLinux.o
CC [M] /tmp/vmware-config15/vmhgfs-only/dev.o
CC [M] /tmp/vmware-config15/vmhgfs-only/driver.o
CC [M] /tmp/vmware-config15/vmhgfs-only/hgfsUtil.o
CC [M] /tmp/vmware-config15/vmhgfs-only/main.o
CC [M] /tmp/vmware-config15/vmhgfs-only/staticEscape.o
LD [M] /tmp/vmware-config15/vmhgfs-only/vmhgfs.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config15/vmhgfs-only/vmhgfs.mod.o
LD [M] /tmp/vmware-config15/vmhgfs-only/vmhgfs.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.22.6-1-i686'
cp -f vmhgfs.ko ./../vmhgfs.o
make: Leaving directory `/tmp/vmware-config15/vmhgfs-only'
The module loads perfectly in the running kernel.

pcnet32 31092 0
Unloading pcnet32 module

Extracting the sources of the vmxnet module.

Building the vmxnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config15/vmxnet-only'
make -C /lib/modules/2.6.22.6-1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.6-1-i686'
CC [M] /tmp/vmware-config15/vmxnet-only/vmxnet.o
/tmp/vmware-config15/vmxnet-only/vmxnet.c: In function ‘vmxnet_open’:
/tmp/vmware-config15/vmxnet-only/vmxnet.c:674: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/tmp/vmware-config15/vmxnet-only/vmxnet.c: In function ‘vmxnet_netpoll’:
/tmp/vmware-config15/vmxnet-only/vmxnet.c:1058: error: too many arguments to function ‘vmxnet_interrupt’
make[2]: *** [/tmp/vmware-config15/vmxnet-only/vmxnet.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config15/vmxnet-only] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.22.6-1-i686'
make: *** [vmxnet.ko] 错误 2
make: Leaving directory `/tmp/vmware-config15/vmxnet-only'
Unable to build the vmxnet module.


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 ]


哪位高手能帮我解决阿
我的Linux内核版本是2.6.22.6-1
...全文
8004 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
liucy1983 2008-11-11
  • 打赏
  • 举报
回复
/tmp/vmware-config15/vmxnet-only/vmxnet.c:674: warning: ‘deprecated_irq_flag’ is deprecated (declared at include/linux/interrupt.h:66)
/tmp/vmware-config15/vmxnet-only/vmxnet.c: In function ‘vmxnet_netpoll’:
/tmp/vmware-config15/vmxnet-only/vmxnet.c:1058: error: too many arguments to function ‘vmxnet_interrupt’
上面说了在配置vmxnet_interrupt时参数太多了,而下面说的是要让VMware Tools正常工作就需要网卡可以正常运行,所以就需要安装网卡的驱动(vmxnet module)。如果你想启动网卡,就要安装gcc,bintuils,make和kernel sources以后再次运行vmware-config-tools.pl

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.

upc 2008-11-07
  • 打赏
  • 举报
回复
[Quote=引用 4 楼 butchroller 的回复:]
引用 2 楼 yidihaishui 的回复:
引用 1 楼 butchroller 的回复:
None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]
------------------------------------
这个vmhgfs模块没什么用处,建…
[/Quote]

这回我找到文件和那个函数 但是不知道怎么改
高手就帮帮我吧
那程序我看得懂一点
谢谢了
bxhzct 2008-11-07
  • 打赏
  • 举报
回复
up,多上google搜索,一般把错误的代码一敲都会有相关结果的
upc 2008-11-07
  • 打赏
  • 举报
回复
[Quote=引用 8 楼 bxhzct 的回复:]
up,多上google搜索,一般把错误的代码一敲都会有相关结果的
[/Quote]

是啊 我去google搜过的
也有相关的结果 但是就是解决不了
烦啊···
upc 2008-11-06
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 butchroller 的回复:]
宿主机与虚拟机之间文件共享可以通过网络服务,smb,ftp,都可以。
[/Quote]

可以共享了 我安装VMware Tools的目的就是想实现鼠标的自由移动
不用按Ctrl+Alt了 那样好麻烦的
butchroller 2008-11-06
  • 打赏
  • 举报
回复
宿主机与虚拟机之间文件共享可以通过网络服务,smb,ftp,都可以。
butchroller 2008-11-06
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 yidihaishui 的回复:]
引用 1 楼 butchroller 的回复:
None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel.  Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]
------------------------------------
这个vmhgfs模块没什么用处,建议跳过,选no。

另:关于这个b…
[/Quote]
你要找的是这个文件:vmxnet.c, 然后查找函数定义:vmxnet_interrupt()
如果对编程不熟悉的话,建议放弃,这个功能并不重要。
welcap 2008-11-06
  • 打赏
  • 举报
回复
那个vmhgfs是你的windows系统与虚拟系统进行文件共享的模块,如果要共享数据的话就需要选yes的
upc 2008-11-06
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 butchroller 的回复:]
None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]
------------------------------------
这个vmhgfs模块没什么用处,建议跳过,选no。

另:关于这个bug的解决可参考此文档:
http://…
[/Quote]
你给的这个网址是VMware6的我的是VMware5.5.3
按这个说的做 都找不到那个文件阿
butchroller 2008-11-06
  • 打赏
  • 举报
回复
None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]
------------------------------------
这个vmhgfs模块没什么用处,建议跳过,选no。

另:关于这个bug的解决可参考此文档:
http://tech.ddvip.com/2008-09/122089252361988.html
源码链接: https://pan.quark.cn/s/0f7c75cb3aad ### MIPI Video Mode 与 Command Mode 的差异 #### 一、引言 MIPI (Mobile Industry Processor Interface) 是一种用于连接移动设备中处理器及其外围设备的标准化接口。MIPI 接口支持多种协议,其中包含 DSI (Display Serial Interface) 和 DCS (Display Control Interface) 等协议。在 MIPI 接口的应用中,主要涉及两种工作模式:Video Mode(视频模式)和 Command Mode(命令模式)。本文旨在系统性地阐述这两种模式的工作机制、特性以及实际应用环境。 #### 二、LCD RAM 概念说明 在进一步探讨 MIPI 的两种模式之前,有必要对文中提及的“LCD RAM”概念进行明确。实际上,“LCD RAM”并非一个通用术语,而是本文作者用来描述 LCD 控制器中用于存储显示数据的内存区域。LCD(Liquid Crystal Display,液晶显示屏)通常配备一个控制 IC(Integrated Circuit,集成电路),该控制 IC 可能内置 RAM 以缓存显示数据。 #### 三、MIPI Video Mode(视频模式) **定义:** - 视频模式是一种类似于传统 RGB 接口的工作模式,它要求主机持续不断地向显示器传输刷新数据。 - 在这种模式下,数据和控制信号以报文的形式通过 MIPI 总线进行传输。 - 显示器本身无需配备帧缓冲器,因为主机会周期性地刷新屏幕。 **特点:** 1. **实时性高:** 主机需要不...
源码下载地址: https://pan.quark.cn/s/a4b39357ea24 在电磁模拟技术中,CST(Computer Simulation Technology)是一种被广泛采纳的软件工具,它主要用于电磁场、微波、天线以及射频系统的设计工作。本资料将详细分析CST软件中离散端口的具体配置方法,这些方法对于提升仿真结果的精确度和专业水准具有决定性作用。离散端口在CST软件中扮演着模拟信号输入或输出的重要角色,它们构成了仿真模型不可或缺的部分。在配置离散端口时,一个核心的原则是保证端口的方向与网格线保持一致,这是因为这样做能够有效降低计算过程中产生的误差,并确保仿真数据的有效性。如果未能遵循这一指导原则,可能会引发未知的计算问题,进而导致仿真结果失去可靠性。 在CST软件中配置离散端口,通常需要借助“Pick Points”这一功能。通过选择“Pick Edge Center”选项,端口将被设定在模型边缘的中心位置上。然而,这种做法并不总是能够确保端口与网格线保持平行。在某些特定情形下,模型的几何构造可能不允许直接选取一个与网格线平行的边作为端口的安装位置。 为了克服这一挑战,可以采用多种不同的策略。如果模型本身已经包含一条与馈电口平行的边,那么可以直接利用这条边来建立端口,此时CST软件会自动调整端口使其与网格线对齐。另一种可选的方法是,当模型不具备现成的平行边时,用户可以手动构建一个几何结构,比如一个立方体,并使其边缘与馈电口平行。通过这种方式,新建立的几何结构的边缘就可以作为端口的位置,从而确保端口与网格线的平行关系。 在实施上述操作时,必须关注端口尺寸的合理性和物理意义的一致性。端口的尺寸应当依据实际天线馈电部分的尺寸进行适当调整,过大的端口或...
代码下载链接: https://pan.quark.cn/s/a4b39357ea24 【使用TensorFlow进行图像识别】 图像识别作为计算机视觉领域的关键任务之一,其核心在于通过算法解析和理解图像所包含的信息。在此资源中,我们将集中探讨如何借助功能强大的深度学习框架TensorFlow来执行手写数字识别。手写数字识别构成了众多实际应用的基础,例如自动支票处理、光学字符识别(OCR)等场景。 TensorFlow是由Google创建的一个开源库,它主要用于数值运算和机器学习,尤其在深度学习方面表现卓越。其核心优势在于可以构建并训练复杂的神经网络架构,并且在多种硬件环境中实现高效执行,涵盖CPU和GPU平台。 在此实践项目中,我们将运用TensorFlow来构建一个卷积神经网络(CNN)模型,这种架构是处理图像数据的理想选择。CNNs通过模仿人脑视觉皮层的运作机制,能够自主地提取图像中的关键特征,进而达成识别目标。在手写数字识别的特定情境下,这些特征可能涉及笔画的几何形态、走向以及相互间的连接模式。 对于CNN的基础结构,我们需要具备相应的认知,其通常由卷积层、池化层、全连接层以及激活函数等部分组成。卷积层借助滤波器(亦称卷积核)对图像进行扫描,以捕捉局部特征;池化层则用于降低数据维度,同时保留核心信息;全连接层将特征向量映射至各类别的概率分布;而激活函数如ReLU则通过引入非线性元素,使模型能够学习更为复杂的模式。 在此案例中,建议采用MNIST数据集,这是一个广泛用于手写数字识别的标准测试集。该数据集包含60,000个训练样本和10,000个测试样本,每个样本均为28x28像素的灰度图像,代表0到9这十个数字中的某一个。为了训练模型,必须首先加载数据,并...

19,614

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧