ubuntu10.10安装VMware workstation 7.1.2,vmmon编译失败

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
头像
功夫小狗
帖子: 249
注册时间: 2009-08-13 12:15
送出感谢: 0
接收感谢: 0

ubuntu10.10安装VMware workstation 7.1.2,vmmon编译失败

#1

帖子 功夫小狗 » 2010-10-12 10:39

代码: 全选

 sudo cat /tmp/vmware-root/setup-3006.log
10月 12 10:21:00.275: app-140211215951616| Log for VMware Workstation pid=3006 version=7.1.2 build=build-301548 option=Release
10月 12 10:21:00.275: app-140211215951616| The process is 64-bit.
10月 12 10:21:00.275: app-140211215951616| Host codepage=UTF-8 encoding=UTF-8
10月 12 10:21:00.275: app-140211215951616| Logging to /tmp/vmware-root/setup-3006.log
10月 12 10:21:00.426: app-140211215951616| modconf query interface initialized
10月 12 10:21:00.426: app-140211215951616| modconf library initialized
10月 12 10:21:00.460: app-140211215951616| Your GCC version: 4.4
10月 12 10:21:00.468: app-140211215951616| Your GCC version: 4.4
10月 12 10:21:00.478: app-140211215951616| Your GCC version: 4.4
10月 12 10:21:00.493: app-140211215951616| Your GCC version: 4.4
10月 12 10:21:00.504: app-140211215951616| Your GCC version: 4.4
10月 12 10:21:00.539: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.541: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.544: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.547: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.549: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.569: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.572: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.575: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.577: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.580: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.586: app-140211215951616| Your GCC version: 4.4
10月 12 10:21:00.596: app-140211215951616| Your GCC version: 4.4
10月 12 10:21:00.631: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.634: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.637: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.639: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.642: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.648: app-140211215951616| Your GCC version: 4.4
10月 12 10:21:00.658: app-140211215951616| Your GCC version: 4.4
10月 12 10:21:00.707: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.710: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.712: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.715: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.718: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.928: app-140211215951616| Trying to find a suitable PBM set for kernel 2.6.35-22-generic.
10月 12 10:21:00.929: app-140211215951616| Building module vmmon.
10月 12 10:21:00.929: app-140211215951616| Extracting the sources of the vmmon module.
10月 12 10:21:00.943: app-140211215951616| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.35-22-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.5
10月 12 10:21:04.033: app-140211215951616| Failed to compile module vmmon!
附件
Screenshot.png
头像
iSIX
帖子: 109
注册时间: 2009-09-12 22:37
送出感谢: 0
接收感谢: 0

Re: ubuntu10.10安装VMware workstation 7.1.2,vmmon编译失败

#2

帖子 iSIX » 2010-10-12 14:36

我今天更新也发现了这个问题,这个原因是新内核有个函数名(iommu_map_range变成了iommu_map(新内核))发生了变动,导致编译内核模块的时候出现问题
http://communities.vmware.com/thread/272625
下载那两个附件,然后

代码: 全选

sudo sh ./patch-modules.sh
我运行成功。
头像
功夫小狗
帖子: 249
注册时间: 2009-08-13 12:15
送出感谢: 0
接收感谢: 0

Re: ubuntu10.10安装VMware workstation 7.1.2,vmmon编译失败

#3

帖子 功夫小狗 » 2010-10-12 16:21

iSIX 写了:我今天更新也发现了这个问题,这个原因是新内核有个函数名(iommu_map_range变成了iommu_map(新内核))发生了变动,导致编译内核模块的时候出现问题
http://communities.vmware.com/thread/272625
下载那两个附件,然后

代码: 全选

sudo sh ./patch-modules.sh
我运行成功。
非常感谢...

我也成功了
ddss
帖子: 9
注册时间: 2009-03-30 14:42
送出感谢: 0
接收感谢: 0

Re: ubuntu10.10安装VMware workstation 7.1.2,vmmon编译失败

#4

帖子 ddss » 2010-10-13 9:21

把那两个附件放在哪里? 我放在主文件夹下执行的不成功啊
头像
iSIX
帖子: 109
注册时间: 2009-09-12 22:37
送出感谢: 0
接收感谢: 0

Re: ubuntu10.10安装VMware workstation 7.1.2,vmmon编译失败

#5

帖子 iSIX » 2010-10-13 12:18

ddss 写了:把那两个附件放在哪里? 我放在主文件夹下执行的不成功啊
放哪里都可以啊,只要两个一起就得
VMware版本是7.1版本的,其他版本的不确定。
把你的错误代码放出来啊,就一句不成功,谁知道你哪里不成功了。
alexband
帖子: 7
注册时间: 2008-04-29 15:14
送出感谢: 0
接收感谢: 0

Re: ubuntu10.10安装VMware workstation 7.1.2,vmmon编译失败

#6

帖子 alexband » 2010-10-13 14:30

我也遇到的同样的问题,
我是使用的以下的patch

http://www.sputnick-area.net/scripts/vm ... .6.35.bash

也能成功运行vmware了,

现在的问题是,我的vmware是7.1.2的,现在升级后的内核是2.6.35.22

我有两个guest os,一个是windows 7,运行是正常的。 一个是ubuntu 10.04,现在这个guest os不能识别键盘和鼠标了,没有反应。

它们的差别在于在我升级10.10之前,ubuntu10.04的guest系统装了7.1.2的vmware-tool,而windows 7的guest系统没装。

但是现在没有鼠标键盘,我在10.04的guest里也不知道怎么办了。

请问有没有兄弟遇到这种情况的。
头像
功夫小狗
帖子: 249
注册时间: 2009-08-13 12:15
送出感谢: 0
接收感谢: 0

Re: ubuntu10.10安装VMware workstation 7.1.2,vmmon编译失败

#7

帖子 功夫小狗 » 2010-10-13 16:17

alexband 写了:我也遇到的同样的问题,
我是使用的以下的patch

http://www.sputnick-area.net/scripts/vm ... .6.35.bash

也能成功运行vmware了,

现在的问题是,我的vmware是7.1.2的,现在升级后的内核是2.6.35.22

我有两个guest os,一个是windows 7,运行是正常的。 一个是ubuntu 10.04,现在这个guest os不能识别键盘和鼠标了,没有反应。

它们的差别在于在我升级10.10之前,ubuntu10.04的guest系统装了7.1.2的vmware-tool,而windows 7的guest系统没装。

但是现在没有鼠标键盘,我在10.04的guest里也不知道怎么办了。

请问有没有兄弟遇到这种情况的。
http://www.sputnick-area.net/scripts/vm ... .6.35.bash
这个是针对7.1.1的,我当时也看到了,因为怕有问题,所以没用,没想到果然不行
ddss
帖子: 9
注册时间: 2009-03-30 14:42
送出感谢: 0
接收感谢: 0

Re: ubuntu10.10安装VMware workstation 7.1.2,vmmon编译失败

#8

帖子 ddss » 2010-10-13 17:02

iSIX 写了:
ddss 写了:把那两个附件放在哪里? 我放在主文件夹下执行的不成功啊
放哪里都可以啊,只要两个一起就得
VMware版本是7.1版本的,其他版本的不确定。
把你的错误代码放出来啊,就一句不成功,谁知道你哪里不成功了。
xdx@xdx-virtual-machine:~$ sudo sh ./patch-modules.sh
./patch-modules.sh: 7: patch: not found
Stopping VMware services:
VMware USB Arbitrator done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.35-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-22-generic'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c:2004: warning: ‘newUpBase’ may be used uninitialized in this function
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_SetupMMU’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:156: error: implicit declaration of function ‘iommu_map_range’
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_VMCleanup’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:403: error: implicit declaration of function ‘iommu_unmap_range’
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] 错误 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [vmmon.ko] 错误 2
make:离开目录“/tmp/vmware-root/modules/vmmon-only”
Unable to install vmmon

我用的是64位的 vm 是7.1.2
ddss
帖子: 9
注册时间: 2009-03-30 14:42
送出感谢: 0
接收感谢: 0

Re: ubuntu10.10安装VMware workstation 7.1.2,vmmon编译失败

#9

帖子 ddss » 2010-10-14 9:14

iSIX 写了:
ddss 写了:把那两个附件放在哪里? 我放在主文件夹下执行的不成功啊
放哪里都可以啊,只要两个一起就得
VMware版本是7.1版本的,其他版本的不确定。
把你的错误代码放出来啊,就一句不成功,谁知道你哪里不成功了。

xdx@xdx-virtual-machine:~/ds$ sudo sh patch-modules.sh
mkdir: 无法创建目录 “original”: 文件已存在
patch-modules.sh: 7: cannot open vmware-7.1-2.6.35-3-generic.patch: No such file
patch-modules.sh: 7: patch: not found
Stopping VMware services:
VMware USB Arbitrator done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.35-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-22-generic'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c:2004: warning: ‘newUpBase’ may be used uninitialized in this function
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_SetupMMU’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:156: error: implicit declaration of function ‘iommu_map_range’
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_VMCleanup’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:403: error: implicit declaration of function ‘iommu_unmap_range’
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] 错误 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [vmmon.ko] 错误 2
make:离开目录“/tmp/vmware-root/modules/vmmon-only”
Unable to install vmmon
xdx@xdx-virtual-machine:~/ds$ cd ..
xdx@xdx-virtual-machine:~$ sudo chown xdx /home/xdx/original
xdx@xdx-virtual-machine:~$ sudo chown xdx /home/xdx/patched
xdx@xdx-virtual-machine:~$ cd ds
xdx@xdx-virtual-machine:~/ds$ sudo sh patch-modules.sh
patch-modules.sh: 7: cannot open vmware-7.1-2.6.35-3-generic.patch: No such file
patch-modules.sh: 7: patch: not found
Stopping VMware services:
VMware USB Arbitrator done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.35-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-22-generic'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c:2004: warning: ‘newUpBase’ may be used uninitialized in this function
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_SetupMMU’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:156: error: implicit declaration of function ‘iommu_map_range’
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_VMCleanup’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:403: error: implicit declaration of function ‘iommu_unmap_range’
ma


vm7.1.2 ubuntu10.10
头像
iSIX
帖子: 109
注册时间: 2009-09-12 22:37
送出感谢: 0
接收感谢: 0

Re: ubuntu10.10安装VMware workstation 7.1.2,vmmon编译失败

#10

帖子 iSIX » 2010-10-14 12:56

ddss 写了:
iSIX 写了:
ddss 写了:把那两个附件放在哪里? 我放在主文件夹下执行的不成功啊
放哪里都可以啊,只要两个一起就得
VMware版本是7.1版本的,其他版本的不确定。
把你的错误代码放出来啊,就一句不成功,谁知道你哪里不成功了。

xdx@xdx-virtual-machine:~/ds$ sudo sh patch-modules.sh
mkdir: 无法创建目录 “original”: 文件已存在
patch-modules.sh: 7: cannot open vmware-7.1-2.6.35-3-generic.patch: No such file
patch-modules.sh: 7: patch: not found
Stopping VMware services:
VMware USB Arbitrator done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.35-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-22-generic'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c:2004: warning: ‘newUpBase’ may be used uninitialized in this function
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_SetupMMU’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:156: error: implicit declaration of function ‘iommu_map_range’
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_VMCleanup’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:403: error: implicit declaration of function ‘iommu_unmap_range’
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] 错误 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [vmmon.ko] 错误 2
make:离开目录“/tmp/vmware-root/modules/vmmon-only”
Unable to install vmmon
xdx@xdx-virtual-machine:~/ds$ cd ..
xdx@xdx-virtual-machine:~$ sudo chown xdx /home/xdx/original
xdx@xdx-virtual-machine:~$ sudo chown xdx /home/xdx/patched
xdx@xdx-virtual-machine:~$ cd ds
xdx@xdx-virtual-machine:~/ds$ sudo sh patch-modules.sh
patch-modules.sh: 7: cannot open vmware-7.1-2.6.35-3-generic.patch: No such file
patch-modules.sh: 7: patch: not found
Stopping VMware services:
VMware USB Arbitrator done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.35-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-22-generic'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c:2004: warning: ‘newUpBase’ may be used uninitialized in this function
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_SetupMMU’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:156: error: implicit declaration of function ‘iommu_map_range’
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_VMCleanup’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:403: error: implicit declaration of function ‘iommu_unmap_range’
ma


vm7.1.2 ubuntu10.10
你没有下载vmware-7.1-2.6.35-3-generic.patch吧,或者没有放在同一目录下,上面提示你当前运行目录没有这个文件。
附件
patch.tar.bz2
(2.55 KiB) 下载 89 次
萨瓦哥
帖子: 10
注册时间: 2008-11-28 1:07
送出感谢: 0
接收感谢: 0

Re: ubuntu10.10安装VMware workstation 7.1.2,vmmon编译失败

#11

帖子 萨瓦哥 » 2010-10-23 23:03

ddss 写了:
iSIX 写了:
ddss 写了:把那两个附件放在哪里? 我放在主文件夹下执行的不成功啊
放哪里都可以啊,只要两个一起就得
VMware版本是7.1版本的,其他版本的不确定。
把你的错误代码放出来啊,就一句不成功,谁知道你哪里不成功了。
xdx@xdx-virtual-machine:~$ sudo sh ./patch-modules.sh
./patch-modules.sh: 7: patch: not found
Stopping VMware services:
VMware USB Arbitrator done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
Using 2.6.x kernel build system.
make:进入目录'/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.35-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.35-22-generic'
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c:2004: warning: ‘newUpBase’ may be used uninitialized in this function
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_SetupMMU’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:156: error: implicit declaration of function ‘iommu_map_range’
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function ‘IOMMU_VMCleanup’:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:403: error: implicit declaration of function ‘iommu_unmap_range’
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] 错误 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [vmmon.ko] 错误 2
make:离开目录“/tmp/vmware-root/modules/vmmon-only”
Unable to install vmmon

我用的是64位的 vm 是7.1.2

我跟你用的一样的系统版本和VM版本,执行这个脚本也不成功,仔细看了patch-modules.sh这个脚本以后单步执行才发现patch没安装。执行以下步骤
sudo apt-get install patch
sudo sh ./patch-modules.sh
运行以后打开VM成功,祝你好运~ :em11
头像
jfxwc
帖子: 152
注册时间: 2006-10-29 14:06
送出感谢: 0
接收感谢: 0

Re: ubuntu10.10安装VMware workstation 7.1.2,vmmon编译失败

#12

帖子 jfxwc » 2010-10-24 0:41

非常感谢,被这个问题困扰了两天,现在 OK 了,再一次感谢 iSIX
回复

回到 “虚拟机和虚拟化”