在ubuntu下安装运行vmware workstation,当我输入命令sudo vmware-modconfig --console --install-all后,出现如下错误
/tmp/modconfig-EZDr9h/vmmon-only/linux/driver.c:403:8: error: void value not ignored as it ought to be
if (misc_deregister(&linuxState.misc)) {
^
At top level:
/tmp/modconfig-EZDr9h/vmmon-only/linux/driver.c:1332:1: warning: always_inline function might not be inlinable [-Wattributes]
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
/tmp/modconfig-EZDr9h/vmnet-only/driver.c:1194:20: error: ‘struct file’ has no member named ‘f_dentry’
if (filp && filp->f_dentry) {
^
/tmp/modconfig-EZDr9h/vmnet-only/driver.c:1195:19: error: ‘struct file’ has no member named ‘f_dentry’
inode = filp->f_dentry->d_inode;
如何修改,还有对应的修复后的源码包下载吗?或请发送到我的QQ2604337545上,或QQ邮箱2604337545@qq.com谢谢。