|
我以前在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 |
|