On the off chance this was simply a gcc issue I compiled gcc 7.3 which contains the updates for the patch. Still get the same error. Looks like I cannot use VMware for now.
It looks very much like the issue in below thread:
It is caused that incorrect gcc version is used when compiling vmhgfs module. Correct version is 4.8.5-16.
Will you please try the workaround in that thread?