找不到Vmware 8.0和ubuntu bionic- gcc

时间:2018-05-09 00:24:13

标签: gcc vmware vmware-workstation ubuntu-18.04

我正在尝试使用gcc-7.3在kubuntu bionic上安装vmware 8。安装过程进行得很顺利,直到找不到消息" gcc"。 gcc在那里,但我猜vmware 8太旧了,不能识别gcc 7.3版。

我曾尝试手动编译模块(vmmon和stuff),但出现了错误。示例如下所示。

/usr/lib/vmware/modules/source/vmmon-only/linux/driver.c: At top level:
/usr/lib/vmware/modules/source/vmmon-only/linux/driver.c:175:19: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
         .fault  = LinuxDriverFault
                   ^~~~~~~~~~~~~~~~
/usr/lib/vmware/modules/source/vmmon-only/linux/driver.c:175:19: note: (near initialization for ‘vmuser_mops.fault’)
/usr/lib/vmware/modules/source/vmmon-only/linux/driver.c: In function ‘init_module’:
/usr/lib/vmware/modules/source/vmmon-only/linux/driver.c:346:4: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
    init_timer(&linuxState.pollTimer);
    ^~~~~~~~~~
    init_timers

有解决方法吗?

非常感谢

0 个答案:

没有答案