On Fri, May 6, 2022 at 1:55 AM ja <ja(a)jaa.org.uk> wrote:
I have been using this repository for building VMWare modules
https://github.com/mkubecek/vmware-host-modules
I tried that as well, but that fails in a slightly different way:
ram@zathras [08:34:09] [~/git/vmware-host-modules] [workstation-16.2.3]
-> % make
make -C vmmon-only
make[1]: Entering directory '/home/ram/git/vmware-host-modules/vmmon-only'
Using kernel build system.
make -C /lib/modules/5.17.5-200.fc35.x86_64/build/include/.. M=$PWD
SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[2]: Entering directory '/usr/src/kernels/5.17.5-200.fc35.x86_64'
make[2]: *** No rule to make target 'modules'. Stop.
make[2]: Leaving directory '/usr/src/kernels/5.17.5-200.fc35.x86_64'
make[1]: *** [Makefile:117: vmmon.ko] Error 2
make[1]: Leaving directory '/home/ram/git/vmware-host-modules/vmmon-only'
make: *** [Makefile:21: vmmon-only] Error 2
ram@zathras [08:34:10] [~/git/vmware-host-modules] [workstation-16.2.3]
-> %
and the Makefile in /usr/src/kernels/5.17.5-200.fc35.x86_64 is an
empty file, unlike in other kernel directories. I've reinstalled the
kerel-devel-5.17.5-200.fc35 package and that installed a Makefile with
actual contents which allowed me to rebuild the module.
Thanks for the help!
Cheers
Adam