hi , i am trying to install vmware on my system . during the installation in gives me this error any idea how to fix it?
/tmp/modconfig-ZB06lS/vmnet-only/vm_assert.h:43:10: fatal error: stdarg.h: No such file or directory
43 | #include <stdarg.h>
|
/tmp/modconfig-ZB06lS/vmnet-only/vm_basic_defs.h:54:12: fatal error: stddef.h: No such file or directory
54 | # include <stddef.h>
|
bt clicking the installed icon it tells me som modules are not installed and when i click to install it exits with error 1 and in the log files it said these headers are not found
There are 2 different packages that contain headers for the kernel.
One is the kernel-devel package which you seem to have installed, and the other is the kernel-headers package. They do contain different things and theoretically only the kernel-devel package is needed for building kernel modules, but maybe for your use you need both.
You also may get better results by doing sudo dnf remove kernel-devel followed by sudo dnf install kernel-devel. It is possible that a new install may get the headers needed to build your module.
reza0314, could you check your VMwareâs version?
There is a solution code for 16.2.1:
git clone https://github.com/mkubecek/vmware-host-modules.git
cd vmware-host-modules
git checkout workstation-16.2.1
make
make install
/etc/init.d/vmware start
But I have 16.2.3 and this code doesnât work on my Fedora 35.
Hello!
I have a bash script by loungehostmaste from VMware community. But the are some errors:
make[1]: Entering directory '/usr/src/kernels/5.16.16-200.fc35.x86_64'
CC [M] /tmp/vmware-1cecb61d-8670-4a7d-b2c7-9ccaef539fd5/vmmon-only/linux/driver.o
In file included from /tmp/vmware-1cecb61d-8670-4a7d-b2c7-9ccaef539fd5/vmmon-only/linux/driverLog.h:33,
from /tmp/vmware-1cecb61d-8670-4a7d-b2c7-9ccaef539fd5/vmmon-only/linux/driver.c:46:
/tmp/vmware-1cecb61d-8670-4a7d-b2c7-9ccaef539fd5/vmmon-only/./include/vm_assert.h:43:10: fatal error: stdarg.h: No such file or directory
43 | #include <stdarg.h>
| ^~~~~~~~~~
Iâve checked stdarg.h. It dwells in /usr/lib/gcc/x86_64-redhat-linux/11/include/. But I donât have any ideas how I can put the header into a scriptsâs temporary directory.
It seems strange to me that anyone hoping to build kernel modules would not know enough to do their research on requirements. You are installing an out-of-tree package and thus are required to meet the dependencies on your own. Packages that are built for use with fedora are usually in rpm or flatpak form and thus routinely install the needed dependencies for you. Out-of-tree packages do not.
Anything being built for the kernel must have kernel-devel and often kernel-headers installed.
Newbie here, after kernel 5.18.5-200 update this is not working anymore. Same old problem again. Canât find matching headers and if they truly arenât needed then someone please give a hint.
Remember that VMWare is 100% proprietary and costs.
VirtualBox, although proprietary is free for use and supported by a very large software company.
QEMU/KVM with libvirt is 100% FOSS, and is distributed with fedora.
Boxes also uses libvirt, is FOSS, and is distributed by fedora.
Because VMWare is not free nor open source I never have tried it (and probably never will).
I hope boxes will meet your needs. I use QEMU/KVM and have been quite happy.