2023-09-27T10:52:26.802Z In(05) host-3241276 Using kernel build system.
2023-09-27T10:52:26.802Z In(05) host-3241276 /tmp/modconfig-MRgyG5/vmnet-only/bridge.c: In function ‘VNetBridgeSendLargePacket’:
2023-09-27T10:52:26.802Z In(05) host-3241276 /tmp/modconfig-MRgyG5/vmnet-only/bridge.c:1413:11: error: implicit declaration of function ‘skb_gso_segment’; did you mean ‘tcp_gso_segment’? [-Werror=implicit-function-declaration]
2023-09-27T10:52:26.802Z In(05) host-3241276 1413 | segs = skb_gso_segment(skb, 0);
2023-09-27T10:52:26.802Z In(05) host-3241276 | ^~~~~~~~~~~~~~~
2023-09-27T10:52:26.802Z In(05) host-3241276 | tcp_gso_segment
2023-09-27T10:52:26.802Z In(05) host-3241276 /tmp/modconfig-MRgyG5/vmnet-only/bridge.c:1413:9: warning: assignment to ‘struct sk_buff *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
2023-09-27T10:52:26.802Z In(05) host-3241276 1413 | segs = skb_gso_segment(skb, 0);
2023-09-27T10:52:26.802Z In(05) host-3241276 | ^
2023-09-27T10:52:26.802Z In(05) host-3241276 cc1: some warnings being treated as errors
2023-09-27T10:52:26.802Z In(05) host-3241276 make[2]: *** [scripts/Makefile.build:252: /tmp/modconfig-MRgyG5/vmnet-only/bridge.o] Error 1
2023-09-27T10:52:26.802Z In(05) host-3241276 make[2]: *** Waiting for unfinished jobs....
2023-09-27T10:52:26.802Z In(05) host-3241276 make[1]: *** [Makefile:2050: /tmp/modconfig-MRgyG5/vmnet-only] Error 2
2023-09-27T10:52:26.802Z In(05) host-3241276 make: *** [Makefile:117: vmnet.ko] Error 2
2023-09-27T10:52:26.802Z In(05) host-3241276 Unable to install all modules. See log for details.
2023-09-27T10:52:26.802Z In(05) host-3241276
cd /usr/lib/vmware/modules/source
tar -xvf vmnet.tar
sed -i '46 a#include <net/gso.h>' vmnet-only/bridge.c
mv vmnet.tar vmnet.tar.original
tar -cf vmnet.tar vmnet-only
vmware-modconfig --console --install-all