Because this answer is only for kernel 3.13, so I'd like to share a solution for the problem Failed to build vmnet
for kernel 3.19 and earlier versions. Thus this is not my actual problem and is only intended to help future readers.
Question
When I want to run VMware Workstation or VMware Player for the first time, it needs to deploy some packages at kernel level but it fails with this line of error.
Failed to build vmnet. Failed to execute the build command.
What should I do to resolve this problem?
Best Answer
Solution
Change directory into the vmware module source directory.
[1]
Untar the vmnet modules.
[1]
Open
vmnet-only/driver.c
with your favorite text editor.Around line 267, change the following
[2]
to
Around line 1194, change the following
[2]
to
Save this file and then open file
vmnet-only/userif.c
Around line 526, change the following
[2]
to
Save this file and then re-tar the modules.
[1]
Delete the previous working directory.
[1]
Run the GUI (Workstation or Player) again and let it to build the modules.
References
[1]
: An answer from nonsleepr.[2]
: A write-up from Robert Gadsdon.