LinuxSir.cn,穿越时空的Linuxsir!

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

有没有fc4下成功安装vmware workstaion 5的大侠?帮忙解决一个问题.

[复制链接]
发表于 2005-6-19 22:47:45 | 显示全部楼层 |阅读模式
我以前在fc3下装vmware workstaion 5 按默认配置就成功了.
现在为什么联网模块编译不成功了?
请高手帮忙!谢谢

[root@localhost lzjgf]# vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                 [  确定  ]

Configuring fallback GTK+ 2.4 libraries.

***
* Updating MIME database in /usr/share/mime...
***
In which directory do you want to install the mime type icons?
[/usr/share/icons]

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.11-1.1369_FC4/build/include]
Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.11-1.1369_FC4/build/include/.. SUBDIRS=$PWD SRCROOT=$PW D/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/hash.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/task.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config0/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

Do you want networking for your virtual machines? (yes/no/help) [no] yes

This program previously created the file /dev/vmnet2, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet3, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet4, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet5, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet6, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet7, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet8, and was about to remove
it.  Somebody else apparently did it already.

This program previously created the file /dev/vmnet9, and was about to remove
it.  Somebody else apparently did it already.

Configuring a bridged network for vmnet0.

The following bridged networks have been defined:

. vmnet0 is bridged to eth0

All your ethernet interfaces are already bridged.

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

Configuring a NAT network for vmnet8.

Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes] yes

Probing for an unused private subnet (this can take some time)...

The subnet 172.16.63.0/255.255.255.0 appears to be unused.

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 172.16.63.0.

Do you wish to configure another NAT network? (yes/no) [no] no

Do you want to be able to use host-only networking in your virtual machines?
[yes] yes

Configuring a host-only network for vmnet1.

Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes] yes

Probing for an unused private subnet (this can take some time)...

The subnet 192.168.194.0/255.255.255.0 appears to be unused.

The following host-only networks have been defined:

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

Do you wish to configure another host-only network? (yes/no) [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-config0/vmnet-only'
make -C /lib/modules/2.6.11-1.1369_FC4/build/include/.. SUBDIRS=$PWD SRCROOT=$PW D/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
  CC [M]  /tmp/vmware-config0/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config0/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config0/vmnet-only/userif.o
/tmp/vmware-config0/vmnet-only/userif.c: 在函数 ‘VNetUserIfMapUint32Ptr’ 中:
/tmp/vmware-config0/vmnet-only/userif.c:152: 警告:‘verify_area’ 已过时(于 inclu de/asm/uaccess.h:105 声明)
/tmp/vmware-config0/vmnet-only/userif.c:153: 警告:‘verify_area’ 已过时(于 inclu de/asm/uaccess.h:105 声明)
  CC [M]  /tmp/vmware-config0/vmnet-only/netif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/bridge.o
/tmp/vmware-config0/vmnet-only/bridge.c: 在函数 ‘VNetBridgeUp’ 中:
/tmp/vmware-config0/vmnet-only/bridge.c:716: 警告:传递参数 3 (属于 ‘sk_alloc’) 时将整数赋给指针,未作类型转换
/tmp/vmware-config0/vmnet-only/bridge.c:716: 警告:传递参数 4 (属于 ‘sk_alloc’) 时将指针赋给整数,未作类型转换
  CC [M]  /tmp/vmware-config0/vmnet-only/procfs.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST
Warning: could not open /tmp/vmware-config0/vmnet-only/includeCheck.h: Invalid a rgument
  CC      /tmp/vmware-config0/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

Starting VMware services:
   Virtual machine monitor                                 [  确定  ]
   Virtual ethernet                                        [  确定  ]
   Bridged networking on /dev/vmnet0                       [失败]
   Host-only networking on /dev/vmnet1 (background)        [  确定  ]
   Host-only networking on /dev/vmnet8 (background)        [  确定  ]
   NAT service on /dev/vmnet8                              [  确定  ]

The configuration of VMware Workstation 5.0.0 build-13124 for Linux for this
running kernel completed successfully.

You can now run VMware Workstation by invoking the following command:
"/usr/bin/vmware".

Enjoy,

--the VMware team
发表于 2005-6-20 08:49:20 | 显示全部楼层
下载这个:http://platan.vc.cvut.cz/ftp/pub ... any-update91.tar.gz
用它里面的runme.pl来配置。
很多人都成功了,但我还是遇到下面的问题,可能不是共性问题,因为我当时从FC3升级过来没问题,而全新安装FC4就有问题了。
见这里:
http://www.linuxfans.org/nuke/mo ... wtopic&t=121632
希望有人能给予解答。
已经解决,是LD_LIBRARY_PATH环境变量的问题。
回复 支持 反对

使用道具 举报

发表于 2005-6-20 08:52:18 | 显示全部楼层
刚看见92出来了,希望能解决问题:
http://platan.vc.cvut.cz/ftp/pub ... any-update92.tar.gz
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-20 11:45:37 | 显示全部楼层
谢谢,我试试看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-6-20 12:00:45 | 显示全部楼层
成功了,太谢谢了,终于可以运行windows me 了
回复 支持 反对

使用道具 举报

发表于 2005-6-20 16:37:09 | 显示全部楼层
我正要发贴问这个呢,马上试试,多谢大酷哥^_^
回复 支持 反对

使用道具 举报

发表于 2005-6-20 16:52:30 | 显示全部楼层
成了,THX.
回复 支持 反对

使用道具 举报

发表于 2005-6-20 19:32:15 | 显示全部楼层
vmware中装了win2000,怎么才能连上网呢?

我的是pppoe拨号的。

虚拟机用bridged,nat或host-only,Win2000本地连接都是已连接上的。

是不是要拨号软件?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

发表于 2005-6-20 22:32:04 | 显示全部楼层
搞掂了,选nat,win2000选lan,IE自动检测设置就行了。

宿主,客户机能同时上网了。
回复 支持 反对

使用道具 举报

发表于 2005-6-21 07:48:29 | 显示全部楼层
楼上的VM是试用版的还是有注册码的,俺也想用一回。
回复 支持 反对

使用道具 举报

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

本版积分规则

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