VMware Communities
ebsf1
Contributor
Contributor

vmmon Failing to Compile for Player 16.2.3 on Ubuntu 22.04 5.15.0-41-generic

vmmon is consistently failing to compile for Player on Ubuntu 22.04 kernel version 5.15.0-41-generic, as it has for intervening kernel versions since the Ubuntu 22.04 release.

 

This prevents Player from launching any guest OS, although it will install and run a guest OS freshly installed from ISO, even through guest restart.

 

I've tried both methods (make/make install and vmware-modconfig) on having checked out the Player 16.2.3 tree and on downloading and expanding the Player 16.2.3 tarball.

 

make consistently returns the error:

 

`Skipping BTF generation for /srv/data/users/eric/data/computer/swr/os/vmware/player-16/vmware-host-modules-p16.2.3-k5.15/vmmon-only/vmmon.ko due to unavailability of vmlinux`

notwithstanding that `mokutil --sb-state` returns `SecureBoot disabled`, consistent with the firmware configuration.

 

Furthermore, `sudo make install` returns

```
Using kernel build system.
make: *** No rule to make target 'install'. Stop.
```

 

I should note that I have encountered the same failures both (a) having edited /vmmon-only/include/vm_asm_x86.h to comment out lines 65-71 and 73 (slightly different from other posts because this file has an additional line, but in any event leaving intact the line:

 

`#define ASSERT_ON_COMPILE_SELECTOR_SIZE(expr)` )

 

and (b) leaving the file intact and uncommented.

 

If any prospect exists of installing Player such that it functions, I would be especially grateful to learn how.

Reply
0 Kudos
0 Replies