rfreytag
Enthusiast
Enthusiast

Can't compile vmmon after Ubuntu 20.04 LTS and restart of Workstation Pro 16.2.3-19376536.x86_64 -

Updates of Ubuntu 20.04 LTS sometimes require recompilation of vmmon when I run ‘vmware’. This time the log file shows a problem starting a little after “Using kernel build system.” See the beginning of where things go wrong below….

 

Using kernel build system.
/tmp/modconfig-kuxShM/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()
/tmp/modconfig-kuxShM/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
/tmp/modconfig-kuxShM/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
In file included from /tmp/modconfig-kuxShM/vmmon-only/./include/x86desc.h:33,
from /tmp/modconfig-kuxShM/vmmon-only/./include/modulecall.h:34,
from /tmp/modconfig-kuxShM/vmmon-only/common/task.c:60:
/tmp/modconfig-kuxShM/vmmon-only/common/task.c: In function ‘TaskRestoreHostGDTTRLDT’:
/tmp/modconfig-kuxShM/vmmon-only/./include/vm_asm_x86.h:67:44: error: expression in static assertion is not constant
67 | ASSERT_ON_COMPILE(sizeof(Selector) == 2 && \
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | ((__builtin_constant_p(expr) && ((expr) >> 16) == 0) || \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | sizeof(expr) <= 2))
| ~~~~~~~~~~~~~~~~~~

 

 

...it goes on for maybe another hundred lines of one error after another.  Is there a fix coming from VMware for this compilation problem?

Labels (4)