Initialising VMware Player 14 on Fedora 28: Unable to compile Virtual Machine Monitor
As I was installing VMware Player 14 in Fedora 28, I wasn't able to compile the vmmon module for executing VMware. The vmnet was successfully compiled but for the vmmon it occur the following errors:
/tmp/modconfig-rBg8Xn/vmmon-only/linux/hostif.c: In function ‘HostIF_InitUptime’:
/tmp/modconfig-rBg8Xn/vmmon-only/linux/hostif.c:1779:4: error: implicit
declaration of function ‘init_timer’; did you mean ‘init_timers’?
[-Werror=implicit-function-declaration]
init_timer(&uptimeState.timer);
^~~~~~~~~~
init_timers
/tmp/modconfig-rBg8Xn/vmmon-only/linux/hostif.c:1780:31: error: assignment
to ‘void (*)(struct timer_list *)’ from incompatible pointer type ‘void
(*)(long unsigned int)’ [-Werror=incompatible-pointer-types]
uptimeState.timer.function = HostIFUptimeResyncMono;
^
The command I ran was:
sudo vmware-modconfig --console --install-all
Also, all the kernel modules are installed correctly according to the command:
sudo dnf install gcc glibc-headers kernel-devel kernel-headers patch
How can I fix this? Have I downloaded the wrong modules?
fedora vmware
add a comment |
As I was installing VMware Player 14 in Fedora 28, I wasn't able to compile the vmmon module for executing VMware. The vmnet was successfully compiled but for the vmmon it occur the following errors:
/tmp/modconfig-rBg8Xn/vmmon-only/linux/hostif.c: In function ‘HostIF_InitUptime’:
/tmp/modconfig-rBg8Xn/vmmon-only/linux/hostif.c:1779:4: error: implicit
declaration of function ‘init_timer’; did you mean ‘init_timers’?
[-Werror=implicit-function-declaration]
init_timer(&uptimeState.timer);
^~~~~~~~~~
init_timers
/tmp/modconfig-rBg8Xn/vmmon-only/linux/hostif.c:1780:31: error: assignment
to ‘void (*)(struct timer_list *)’ from incompatible pointer type ‘void
(*)(long unsigned int)’ [-Werror=incompatible-pointer-types]
uptimeState.timer.function = HostIFUptimeResyncMono;
^
The command I ran was:
sudo vmware-modconfig --console --install-all
Also, all the kernel modules are installed correctly according to the command:
sudo dnf install gcc glibc-headers kernel-devel kernel-headers patch
How can I fix this? Have I downloaded the wrong modules?
fedora vmware
I would use the open vm tools instead.
– Rui F Ribeiro
May 25 '18 at 17:02
Your OS is not on the supported list for the player, so it's not guaranteed to work. The timer interface in the recent kernels has changed, so the player source code is outdated. This would compile on an earlier kernel source.
– ajeh
May 25 '18 at 18:32
Well, if VMware doesn't support Fedora 28, I'll just have to use Oracle VirtualBox. Thanks for the comment.
– Andre Bariani
May 25 '18 at 18:47
add a comment |
As I was installing VMware Player 14 in Fedora 28, I wasn't able to compile the vmmon module for executing VMware. The vmnet was successfully compiled but for the vmmon it occur the following errors:
/tmp/modconfig-rBg8Xn/vmmon-only/linux/hostif.c: In function ‘HostIF_InitUptime’:
/tmp/modconfig-rBg8Xn/vmmon-only/linux/hostif.c:1779:4: error: implicit
declaration of function ‘init_timer’; did you mean ‘init_timers’?
[-Werror=implicit-function-declaration]
init_timer(&uptimeState.timer);
^~~~~~~~~~
init_timers
/tmp/modconfig-rBg8Xn/vmmon-only/linux/hostif.c:1780:31: error: assignment
to ‘void (*)(struct timer_list *)’ from incompatible pointer type ‘void
(*)(long unsigned int)’ [-Werror=incompatible-pointer-types]
uptimeState.timer.function = HostIFUptimeResyncMono;
^
The command I ran was:
sudo vmware-modconfig --console --install-all
Also, all the kernel modules are installed correctly according to the command:
sudo dnf install gcc glibc-headers kernel-devel kernel-headers patch
How can I fix this? Have I downloaded the wrong modules?
fedora vmware
As I was installing VMware Player 14 in Fedora 28, I wasn't able to compile the vmmon module for executing VMware. The vmnet was successfully compiled but for the vmmon it occur the following errors:
/tmp/modconfig-rBg8Xn/vmmon-only/linux/hostif.c: In function ‘HostIF_InitUptime’:
/tmp/modconfig-rBg8Xn/vmmon-only/linux/hostif.c:1779:4: error: implicit
declaration of function ‘init_timer’; did you mean ‘init_timers’?
[-Werror=implicit-function-declaration]
init_timer(&uptimeState.timer);
^~~~~~~~~~
init_timers
/tmp/modconfig-rBg8Xn/vmmon-only/linux/hostif.c:1780:31: error: assignment
to ‘void (*)(struct timer_list *)’ from incompatible pointer type ‘void
(*)(long unsigned int)’ [-Werror=incompatible-pointer-types]
uptimeState.timer.function = HostIFUptimeResyncMono;
^
The command I ran was:
sudo vmware-modconfig --console --install-all
Also, all the kernel modules are installed correctly according to the command:
sudo dnf install gcc glibc-headers kernel-devel kernel-headers patch
How can I fix this? Have I downloaded the wrong modules?
fedora vmware
fedora vmware
edited 14 mins ago
Andre Bariani
asked May 25 '18 at 17:01
Andre BarianiAndre Bariani
33
33
I would use the open vm tools instead.
– Rui F Ribeiro
May 25 '18 at 17:02
Your OS is not on the supported list for the player, so it's not guaranteed to work. The timer interface in the recent kernels has changed, so the player source code is outdated. This would compile on an earlier kernel source.
– ajeh
May 25 '18 at 18:32
Well, if VMware doesn't support Fedora 28, I'll just have to use Oracle VirtualBox. Thanks for the comment.
– Andre Bariani
May 25 '18 at 18:47
add a comment |
I would use the open vm tools instead.
– Rui F Ribeiro
May 25 '18 at 17:02
Your OS is not on the supported list for the player, so it's not guaranteed to work. The timer interface in the recent kernels has changed, so the player source code is outdated. This would compile on an earlier kernel source.
– ajeh
May 25 '18 at 18:32
Well, if VMware doesn't support Fedora 28, I'll just have to use Oracle VirtualBox. Thanks for the comment.
– Andre Bariani
May 25 '18 at 18:47
I would use the open vm tools instead.
– Rui F Ribeiro
May 25 '18 at 17:02
I would use the open vm tools instead.
– Rui F Ribeiro
May 25 '18 at 17:02
Your OS is not on the supported list for the player, so it's not guaranteed to work. The timer interface in the recent kernels has changed, so the player source code is outdated. This would compile on an earlier kernel source.
– ajeh
May 25 '18 at 18:32
Your OS is not on the supported list for the player, so it's not guaranteed to work. The timer interface in the recent kernels has changed, so the player source code is outdated. This would compile on an earlier kernel source.
– ajeh
May 25 '18 at 18:32
Well, if VMware doesn't support Fedora 28, I'll just have to use Oracle VirtualBox. Thanks for the comment.
– Andre Bariani
May 25 '18 at 18:47
Well, if VMware doesn't support Fedora 28, I'll just have to use Oracle VirtualBox. Thanks for the comment.
– Andre Bariani
May 25 '18 at 18:47
add a comment |
1 Answer
1
active
oldest
votes
This issue occurs because of a recent breaking change in the Linux Kernel. The issue has been reported, for example, here
Kernel 4.15-rc1 has been released, and brief details are here: http://lkml.iu.edu/hypermail/linux/kernel/1711.3/00971.html
With VMware 14.0.0 – plus the 4.14 vmmon patch – vmmon breaks again [...]
The possible solution is to apply the patch located here for VMWare.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f446041%2finitialising-vmware-player-14-on-fedora-28-unable-to-compile-virtual-machine-mo%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
This issue occurs because of a recent breaking change in the Linux Kernel. The issue has been reported, for example, here
Kernel 4.15-rc1 has been released, and brief details are here: http://lkml.iu.edu/hypermail/linux/kernel/1711.3/00971.html
With VMware 14.0.0 – plus the 4.14 vmmon patch – vmmon breaks again [...]
The possible solution is to apply the patch located here for VMWare.
add a comment |
This issue occurs because of a recent breaking change in the Linux Kernel. The issue has been reported, for example, here
Kernel 4.15-rc1 has been released, and brief details are here: http://lkml.iu.edu/hypermail/linux/kernel/1711.3/00971.html
With VMware 14.0.0 – plus the 4.14 vmmon patch – vmmon breaks again [...]
The possible solution is to apply the patch located here for VMWare.
add a comment |
This issue occurs because of a recent breaking change in the Linux Kernel. The issue has been reported, for example, here
Kernel 4.15-rc1 has been released, and brief details are here: http://lkml.iu.edu/hypermail/linux/kernel/1711.3/00971.html
With VMware 14.0.0 – plus the 4.14 vmmon patch – vmmon breaks again [...]
The possible solution is to apply the patch located here for VMWare.
This issue occurs because of a recent breaking change in the Linux Kernel. The issue has been reported, for example, here
Kernel 4.15-rc1 has been released, and brief details are here: http://lkml.iu.edu/hypermail/linux/kernel/1711.3/00971.html
With VMware 14.0.0 – plus the 4.14 vmmon patch – vmmon breaks again [...]
The possible solution is to apply the patch located here for VMWare.
answered Jul 3 '18 at 21:02
droopedroope
1162
1162
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f446041%2finitialising-vmware-player-14-on-fedora-28-unable-to-compile-virtual-machine-mo%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I would use the open vm tools instead.
– Rui F Ribeiro
May 25 '18 at 17:02
Your OS is not on the supported list for the player, so it's not guaranteed to work. The timer interface in the recent kernels has changed, so the player source code is outdated. This would compile on an earlier kernel source.
– ajeh
May 25 '18 at 18:32
Well, if VMware doesn't support Fedora 28, I'll just have to use Oracle VirtualBox. Thanks for the comment.
– Andre Bariani
May 25 '18 at 18:47