You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to build the vmware-host-modules (branch 17.5.1) for kernel version 6.13.2-arch1-1, but I am encountering errors during the compilation process. The following error messages appear:
error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’?
It seems that the code references dev_base_lock, which is no longer available in the newer kernel versions, and suggests replacing it with device_lock.
The text was updated successfully, but these errors were encountered:
In addition to the information given in #295, I received an error (#295):
bridge.c: In function ‘VNetBridgeReceiveFromVNet’:
bridge.c:587:4: error: implicit declaration of function ‘dev_lock_list’; did you mean ‘read_lock_list’? [-Wimplicit-function-declaration]
587 | dev_lock_list();
| ^~~~~~~~~~~~~
| read_lock_list
bridge.c:590:7: error: implicit declaration of function ‘dev_unlock_list’; did you mean ‘read_unlock_list’? [-Wimplicit-function-declaration]
590 | dev_unlock_list();
| ^~~~~~~~~~~~~~~
| read_unlock_list
It is corrected (in my case) in the following way:
Change in bridge.c:
I am trying to build the vmware-host-modules (branch 17.5.1) for kernel version 6.13.2-arch1-1, but I am encountering errors during the compilation process. The following error messages appear:
It seems that the code references
dev_base_lock
, which is no longer available in the newer kernel versions, and suggests replacing it withdevice_lock
.The text was updated successfully, but these errors were encountered: