分页: 1 / 1

有人成功安装了VMWare Work Station 6 吗?

发表于 : 2007-11-14 8:59
fancing
每次配置网络模块时都报头文件错误的。

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
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: 在函数 ‘VNetCopyDatagramToUser’ 中:
/tmp/vmware-config0/vmnet-only/userif.c:630: 错误: ‘const struct sk_buff’ 没有名为 ‘h’ 的成员
/tmp/vmware-config0/vmnet-only/userif.c:630: 错误: ‘const struct sk_buff’ 没有名为 ‘nh’ 的成员
/tmp/vmware-config0/vmnet-only/userif.c:636: 错误: ‘const struct sk_buff’ 没有名为 ‘h’ 的成员
make[2]: *** [/tmp/vmware-config0/vmnet-only/userif.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config0/vmnet-only] 错误 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [vmnet.ko] 错误 2
make: Leaving directory `/tmp/vmware-config0/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.html".

Execution aborted.


难道要用别的头文件吗?

发表于 : 2007-11-16 19:35
ubantu
不敢回答。我的版本只能供学习和研究

发表于 : 2007-11-16 20:53
hogsonik
好像要下一个补丁,可以搜一下

发表于 : 2007-11-18 18:50
lyz_new
2.6.22以上版本的内核要打一个补丁
因为改动了网络相关的东西
补丁下载以及使用方法:http://blog.chinaunix.net/u/26373/showart_340978.html

发表于 : 2007-11-20 22:37
1469
怎么我什么也没改直接可以编译安装了 :)