相关疑难解决方法(0)

在 18.04 上安装 VMware:无法构建 vmmon

我正在尝试按照https://help.ubuntu.com/community/VMware/Player上的说明安装 VMware

我收到一条错误消息,提示我查看日志文件,其中包含:

Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
Successfully extracted the vmmon source.
Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-GoVdrH/vmmon-only auto-build HEADER_DIR=/lib/modules/4.15.0-22-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
Failed to build vmmon.  Failed to execute the build command.
Run Code Online (Sandbox Code Playgroud)

为了弄清楚到底出了什么问题,我vmware-modconfig --console --install-all在命令行上运行,它显示了这些错误:

./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
 #define CR3_PCID_MASK 0xFFFull

                      ^
/tmp/modconfig-3S1CBa/vmmon-only/linux/driver.c:256:12: error: ‘struct timer_list’ has no member named ‘data’
    tscTimer.data     = 0;
    unsigned int lockedPages = global_page_state(NR_PAGETABLE) +
                               ^~~~~~~~~~~~~~~~~
                               global_numa_state
/tmp/modconfig-3S1CBa/vmmon-only/linux/driver.c: In function …
Run Code Online (Sandbox Code Playgroud)

vmware 18.04

10
推荐指数
3
解决办法
4万
查看次数

标签 统计

18.04 ×1

vmware ×1