Score:0

I can't seem to install Vmware. I tried other solutions with no success. Im using Ubuntu 20.04.3 LTS

uy flag

I am trying to install the Vmware software in my system but the kernels it requires vmmon and vmmnet is not getting installed. I tried multiple things like installing build-essential & linux-headers-generic. I have installed libelf-dev. I tried using sudo vmware-modconfig --console --install-all as well

I am getting the error like this. snippet of log file.

    2021-08-25T14:22:44.805-05:00| host-24205| I005:    39 | #define CR3_PCID_MASK 0xFFFull
2021-08-25T14:22:44.805-05:00| host-24205| I005:       | 
2021-08-25T14:22:44.805-05:00| host-24205| I005: /tmp/modconfig-1y58b9/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
2021-08-25T14:22:44.805-05:00| host-24205| I005: /tmp/modconfig-1y58b9/vmmon-only/linux/driver.c:1259:5: warning: "VMX86_DEVEL" is not defined, evaluates to 0 [-Wundef]
2021-08-25T14:22:44.805-05:00| host-24205| I005:  1259 | #if VMX86_DEVEL
2021-08-25T14:22:44.805-05:00| host-24205| I005:       |     ^~~~~~~~~~~
2021-08-25T14:22:44.805-05:00| host-24205| I005: At top level:
2021-08-25T14:22:44.805-05:00| host-24205| I005: /tmp/modconfig-1y58b9/vmmon-only/linux/driver.c:680:1: warning: always_inline function might not be inlinable [-Wattributes]
2021-08-25T14:22:44.805-05:00| host-24205| I005:   680 | LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
2021-08-25T14:22:44.805-05:00| host-24205| I005:       | ^~~~~~~~~~~~~~~~~~~~~~~
2021-08-25T14:22:44.805-05:00| host-24205| I005: /tmp/modconfig-1y58b9/vmmon-only/linux/hostif.c: In function ‘isVAReadable’:
2021-08-25T14:22:44.805-05:00| host-24205| I005: /tmp/modconfig-1y58b9/vmmon-only/linux/hostif.c:2354:13: error: implicit declaration of function ‘get_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
2021-08-25T14:22:44.805-05:00| host-24205| I005:  2354 |    old_fs = get_fs();
2021-08-25T14:22:44.805-05:00| host-24205| I005:       |             ^~~~~~
2021-08-25T14:22:44.805-05:00| host-24205| I005:       |             sget_fc
2021-08-25T14:22:44.805-05:00| host-24205| I005: /tmp/modconfig-1y58b9/vmmon-only/linux/hostif.c:2354:13: error: incompatible types when assigning to type ‘mm_segment_t’ {aka ‘struct <anonymous>’} from type ‘int’
2021-08-25T14:22:44.805-05:00| host-24205| I005: /tmp/modconfig-1y58b9/vmmon-only/linux/hostif.c:2355:4: error: implicit declaration of function ‘set_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
2021-08-25T14:22:44.805-05:00| host-24205| I005:  2355 |    set_fs(KERNEL_DS);
2021-08-25T14:22:44.805-05:00| host-24205| I005:       |    ^~~~~~
2021-08-25T14:22:44.805-05:00| host-24205| I005:       |    sget_fc
2021-08-25T14:22:44.805-05:00| host-24205| I005: /tmp/modconfig-1y58b9/vmmon-only/linux/hostif.c:2355:11: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNEL_2_1’?
2021-08-25T14:22:44.805-05:00| host-24205| I005:  2355 |    set_fs(KERNEL_DS);
2021-08-25T14:22:44.805-05:00| host-24205| I005:       |           ^~~~~~~~~
2021-08-25T14:22:44.805-05:00| host-24205| I005:       |           KERNEL_2_1
2021-08-25T14:22:44.805-05:00| host-24205| I005: /tmp/modconfig-1y58b9/vmmon-only/linux/hostif.c:2355:11: note: each undeclared identifier is reported only once for each function it appears in
2021-08-25T14:22:44.805-05:00| host-24205| I005: /tmp/modconfig-1y58b9/vmmon-only/linux/hostif.c: In function ‘HostIFFastClockThread’:
2021-08-25T14:22:44.805-05:00| host-24205| I005: /tmp/modconfig-1y58b9/vmmon-only/linux/hostif.c:3248:12: error: incompatible types when assigning to type ‘mm_segment_t’ {aka ‘struct <anonymous>’} from type ‘int’
2021-08-25T14:22:44.805-05:00| host-24205| I005:  3248 |    oldFS = get_fs();
2021-08-25T14:22:44.805-05:00| host-24205| I005:       |            ^~~~~~
2021-08-25T14:22:44.805-05:00| host-24205| I005: /tmp/modconfig-1y58b9/vmmon-only/linux/hostif.c:3249:11: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNEL_2_1’?
2021-08-25T14:22:44.805-05:00| host-24205| I005:  3249 |    set_fs(KERNEL_DS);
2021-08-25T14:22:44.805-05:00| host-24205| I005:       |           ^~~~~~~~~
2021-08-25T14:22:44.805-05:00| host-24205| I005:       |           KERNEL_2_1
2021-08-25T14:22:44.805-05:00| host-24205| I005: cc1: some warnings being treated as errors
2021-08-25T14:22:44.805-05:00| host-24205| I005: make[2]: *** [scripts/Makefile.build:287: /tmp/modconfig-1y58b9/vmmon-only/linux/hostif.o] Error 1
2021-08-25T14:22:44.805-05:00| host-24205| I005: /tmp/modconfig-1y58b9/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
2021-08-25T14:22:44.805-05:00| host-24205| I005: make[1]: *** [Makefile:1848: /tmp/modconfig-1y58b9/vmmon-only] Error 2
Anzo Sasuke avatar
uy flag
Im using Ubuntu 20.04.3 LTS
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.