/var/lib/dkms/vmware-workstation16/16.2.5_20904516/build/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’:
/var/lib/dkms/vmware-workstation16/16.2.5_20904516/build/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this
function); did you mean ‘device_lock’?
44|#define dev_lock_list() read_lock(&dev_base_lock)| ^~~~~~~~~~~~~
./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’
56|#define read_lock(lock) _raw_read_lock(lock)| ^~~~
/var/lib/dkms/vmware-workstation16/16.2.5_20904516/build/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’
587| dev_lock_list();| ^~~~~~~~~~~~~
/var/lib/dkms/vmware-workstation16/16.2.5_20904516/build/vmnet-only/vmnetInt.h:44:39: note: each undeclared identifier is reported only on
ce for each function it appears in
44|#define dev_lock_list() read_lock(&dev_base_lock)| ^~~~~~~~~~~~~
./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’
56|#define read_lock(lock) _raw_read_lock(lock)| ^~~~
/var/lib/dkms/vmware-workstation16/16.2.5_20904516/build/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’
587| dev_lock_list();| ^~~~~~~~~~~~~
/var/lib/dkms/vmware-workstation16/16.2.5_20904516/build/vmnet-only/bridge.c: In function ‘VNetBridgeUp’:
/var/lib/dkms/vmware-workstation16/16.2.5_20904516/build/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this
function); did you mean ‘device_lock’?
44|#define dev_lock_list() read_lock(&dev_base_lock)| ^~~~~~~~~~~~~
./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’
56|#define read_lock(lock) _raw_read_lock(lock)| ^~~~
/var/lib/dkms/vmware-workstation16/16.2.5_20904516/build/vmnet-only/bridge.c:898:4: note: in expansion of macro ‘dev_lock_list’
898| dev_lock_list();| ^~~~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:229: /var/lib/dkms/vmware-workstation16/16.2.5_20904516/build/vmnet-only/bridge.o] Error 1make[4]: *** Waiting for unfinished jobs....