LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1127|回复: 7

FC7安装VMWare6.0问题,请高手指点

[复制链接]
发表于 2007-8-8 12:05:02 | 显示全部楼层 |阅读模式
Extracting the sources of the vmblock module.

Building the vmblock module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config5/vmblock-only'
make -C /lib/modules/2.6.22.1-41.fc7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.1-41.fc7-i686'
  CC [M]  /tmp/vmware-config5/vmblock-only/linux/block.o
  CC [M]  /tmp/vmware-config5/vmblock-only/linux/control.o
  CC [M]  /tmp/vmware-config5/vmblock-only/linux/dbllnklst.o
  CC [M]  /tmp/vmware-config5/vmblock-only/linux/dentry.o
  CC [M]  /tmp/vmware-config5/vmblock-only/linux/file.o
  CC [M]  /tmp/vmware-config5/vmblock-only/linux/filesystem.o
  CC [M]  /tmp/vmware-config5/vmblock-only/linux/inode.o
  CC [M]  /tmp/vmware-config5/vmblock-only/linux/module.o
  CC [M]  /tmp/vmware-config5/vmblock-only/linux/stubs.o
  CC [M]  /tmp/vmware-config5/vmblock-only/linux/super.o
  LD [M]  /tmp/vmware-config5/vmblock-only/vmblock.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-config5/vmblock-only/vmblock.mod.o
  LD [M]  /tmp/vmware-config5/vmblock-only/vmblock.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.22.1-41.fc7-i686'
cp -f vmblock.ko ./../vmblock.o
make: Leaving directory `/tmp/vmware-config5/vmblock-only'
The module loads perfectly in the running kernel.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [no]
Do you want networking for your virtual machines? (yes/no/help) [yes]
Would you prefer to modify your existing networking configuration using the
wizard or the editor? (wizard/editor/help) [wizard]
The following bridged networks have been defined:

. vmnet0 is bridged to eth0
. vmnet2 is bridged to eth1

All your ethernet interfaces are already bridged.

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes]

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 172.16.165.0.

Do you wish to configure another NAT network? (yes/no) [no]
Do you want to be able to use host-only networking in your virtual machines?
[yes]
The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 192.168.213.0.

Do you wish to configure another host-only network? (yes/no) [no]
Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config5/vmnet-only'
make -C /lib/modules/2.6.22.1-41.fc7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.1-41.fc7-i686'
  CC [M]  /tmp/vmware-config5/vmnet-only/driver.o

  CC [M]  /tmp/vmware-config5/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config5/vmnet-only/userif.o
/tmp/vmware-config5/vmnet-only/userif.c: 在函数 ‘VNetCopyDatagramToUser’ 中:
/tmp/vmware-config5/vmnet-only/userif.c:630: 错误:‘const struct sk_buff’ 没有名为 ‘h’ 的成员
/tmp/vmware-config5/vmnet-only/userif.c:630: 错误:‘const struct sk_buff’ 没有名为 ‘nh’ 的成员
/tmp/vmware-config5/vmnet-only/userif.c:636: 错误:‘const struct sk_buff’ 没有名为 ‘h’ 的成员
make[2]: *** [/tmp/vmware-config5/vmnet-only/userif.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config5/vmnet-only] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.22.1-41.fc7-i686'
make: *** [vmnet.ko] 错误 2
make: Leaving directory `/tmp/vmware-config5/vmnet-only'
Unable to build the vmnet module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.


上述错误怎么改阿?
发表于 2007-8-8 19:40:27 | 显示全部楼层
我也想知道。
回复 支持 反对

使用道具 举报

发表于 2007-8-9 15:26:51 | 显示全部楼层
搜索论坛或google并不那么费事吧

看这里:http://www.linuxsir.cn/bbs/showthread.php?t=309585
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-9 15:37:30 | 显示全部楼层
[root@eHeaven vmware-any-any-update113]# ls
runme.pl  services.sh  update  update.c  vmblock.tar  vmmon.tar  vmnet.tar
[root@eHeaven vmware-any-any-update113]# ./runme.pl
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

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

Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                 [确定]
   Blocking file system:                                   [确定]
   Bridged networking on /dev/vmnet0                       [确定]
   Host network detection                                  [确定]
   Bridged networking on /dev/vmnet2                       [确定]
   DHCP server on /dev/vmnet8                              [确定]
   NAT service on /dev/vmnet8                              [确定]
   Host-only networking on /dev/vmnet8                     [确定]
   Virtual ethernet                                        [确定]

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the theme icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

Trying to find a suitable vmmon module for your running kernel.


None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel.  Do you want this program to try to build the vmmon 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.1-41.fc7/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Workstation 6.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.22.1-41.fc7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.22.1-41.fc7-i686'
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config1/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/comport.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/hash.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config1/vmmon-only/common/task.o
gcc: error trying to exec 'cc1plus': execvp: 没有那个文件或目录
make[2]: *** [/tmp/vmware-config1/vmmon-only/common/task.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.22.1-41.fc7-i686'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-9 15:38:54 | 显示全部楼层
这是怎么回事阿?
回复 支持 反对

使用道具 举报

发表于 2007-8-9 16:00:15 | 显示全部楼层
缺少gcc-c++,yum安装
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-9 17:37:10 | 显示全部楼层
谢谢Mandriva
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-9 19:46:44 | 显示全部楼层
终于搞定,十分感谢!

最后要告诉大家的是,先安装,报错也没关系,然后直接打补丁就可以用了。跟windows真的不一样
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表