好不容易装好了Ubuntu 7.10 ,准备装Vmware WorkStation6了,可在最新的2.6.22-6内核上确编译Vmnet模块时却失败了,报如下错误: make: Entering directory `/tmp/vmware-config0/vmnet-only"
make -C /lib/modules/2.6.22-6-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-6-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-6-generic"
make: *** [vmnet.ko] 错误 2
make: Leaving directory `/tmp/vmware-config0/vmnet-only"
Unable to build the vmnet module.哎,又是一个和内核编码规范不符合的BUG,还好已经有人修复了这个问题,具体的修复方法如下:cd /tmp
wget http://labs.eshangrao.com/files/vmnet.tar
cd /usr/lib/vmware/modules/source
sudo mv vmnet.tar vmnet.tar.old
cp /tmp/vmnet.tar ./然后使用如下命令按提示重新编译Vmware模块就可以了:sudovmware-config.plFedora 8 下安装永中office问题的解决Ubuntu下Ftp的安装和配置(vsftpd)相关资讯 VMware Workstation ubuntu 7.10
- VMware Workstation Pro 12.1.1 (04月28日)
- VMware Workstation v10.0.1官方简 (03/13/2014 13:33:50)
- Vmware Workstation实现Red Hat (02/15/2013 21:34:47)
| - CentOS6.x中VMware Workstation 虚 (12/29/2014 08:40:01)
- VMware Workstation 10.0.1 正式发 (10/26/2013 13:33:09)
- Oracle Linux 6.3安装最新版VMware (01/27/2013 17:07:02)
|
本文评论 查看全部评论 (0)