首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >VMware播放器安装失败构建内核模块3.11

VMware播放器安装失败构建内核模块3.11
EN

Ask Ubuntu用户
提问于 2013-08-18 12:36:33
回答 2查看 3.9K关注 0票数 3

我试图在Ubuntu13.04下安装VMware播放器,我的内核是3.11.0.2-generic

VMware安装失败,因为它无法构建内核模块:

日志是:

代码语言:javascript
复制
Ago 18 09:27:20.737: app| Log for VMware Workstation pid=9313 version=6.5.5 build=build-328052 option=Release
Ago 18 09:27:20.737: app| Host codepage=UTF-8 encoding=UTF-8
Ago 18 09:27:20.737: app| Logging to /tmp/vmware-root/setup-9313.log
Ago 18 09:27:23.829: app| Extracting the sources of the vmmon module.
Ago 18 09:27:23.849: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.11.0-2-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.8

我该怎么解决呢?

编辑:

下面是请求的dpkg -l | grep -E 'linux-headers|gcc|build-essential输出:

代码语言:javascript
复制
ii  build-essential                           11.6ubuntu5    i386         Informational list of build-essential packages
ii  gcc                                       4:4.8.1-2ubuntu2                        i386         GNU C compiler
ii  gcc-4.4                                   4.4.7-2ubuntu2                          i386         GNU C compiler
ii  gcc-4.4-base:i386                         4.4.7-2ubuntu2                          i386         GCC, the GNU Compiler Collection (base package)
ii  gcc-4.8                                   4.8.1-8ubuntu1                          i386         GNU C compiler
ii  gcc-4.8-base:i386                         4.8.1-8ubuntu1                          i386         GCC, the GNU Compiler Collection (base package)
ii  gccxml                                    0.9.0+git20130511-1ubuntu1              i386         XML output extension to GCC
ii  libgcc-4.8-dev:i386                       4.8.1-8ubuntu1                          i386         GCC support library (development files)
ii  libgcc1:i386                              1:4.8.1-8ubuntu1                        i386         GCC support library
ii  linux-headers-3.10.0-4                    3.10.0-4.13                             all          Header files related to Linux kernel version 3.10.0
ii  linux-headers-3.10.0-4-generic            3.10.0-4.13                             i386         Linux kernel headers for version 3.10.0 on 32 bit x86 SMP
ii  linux-headers-3.11.0-2                    3.11.0-2.5                              all          Header files related to Linux kernel version 3.11.0
ii  linux-headers-3.11.0-2-generic            3.11.0-2.5                              i386         Linux kernel headers for version 3.11.0 on 32 bit x86 SMP
ii  linux-headers-generic                     3.11.0.2.3                              i386         Generic Linux kernel headers

再次感谢。

EN

回答 2

Ask Ubuntu用户

发布于 2013-08-23 23:36:57

代码语言:javascript
复制
sudo -s
sudo apt-get install curl
cd /tmp
curl -O http://pkgbuild.com/git/aur-mirror.git/plain/vmware-patch/vmblock-9.0.2-5.0.2-3.10.patch
curl -O http://pkgbuild.com/git/aur-mirror.git/plain/vmware-patch/vmnet-9.0.2-5.0.2-3.10.patch
cd /usr/lib/vmware/modules/source
tar -xvf vmblock.tar
tar -xvf vmnet.tar
patch -p0 -i /tmp/vmblock-9.0.2-5.0.2-3.10.patch
patch -p0 -i /tmp/vmnet-9.0.2-5.0.2-3.10.patch
tar -cf vmblock.tar vmblock-only
tar -cf vmnet.tar vmnet-only
rm -r vmblock-only
rm -r vmnet-only
vmware-modconfig --console --install-all
  • 来源:Ubuntu论坛上的帖子
票数 2
EN

Ask Ubuntu用户

发布于 2013-09-05 19:51:04

如果您为3.10修补了VMWare (这是@KemalALKIN 's的回答),您只需做以下操作:

代码语言:javascript
复制
sudo su
cd /tmp
wget https://github.com/willysr/SlackHacks/raw/master/vmware/vmware-3.11/vmblock.3.11.patch
cd /usr/lib/vmware/modules/source
tar -xvf vmblock.tar
cd vmblock-only
patch -p1 < /tmp/vmblock.3.11.patch
cd ..
tar -cvf vmblock.tar vmblock-only/
vmware-modconfig --console --install-all
  • 来源:Linux3.11的VMware播放器
票数 2
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/334110

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档