-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Solve error: 'dev_base_lock' undeclared #295
Comments
lol |
Bravo |
I just did made this into a pull request. |
In my case, additional changes to the
|
This was referenced Feb 11, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because after we use the script to obtain the code, a "dev_base_lock undeclared" code error occurs during compilation. Let's solve this code error problem.
#Switch root user
cd /tmp/patch-vmware/vmware-host-modules/vmnet-only
vim vmnetInt.h
#define read_lock_list() read_lock(&dev_base_lock)
#define read_unlock_list() read_unlock(&dev_base_lock)
change
#define read_lock_list() rcu_read_lock()
#define read_unlock_list() rcu_read_unlock()
cd /tmp/patch-vmware/vmware-host-modules
make
make install
modprobe vmmon vmnet
#Now start vmware
The text was updated successfully, but these errors were encountered: