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.
Using kernel build system.
/sbin/make -C /lib/modules/6.4.10-arch1-1/build/include/.. M=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
CC [M] /tmp/modconfig-agAfhg/vmnet-only/driver.o
CC [M] /tmp/modconfig-agAfhg/vmnet-only/hub.o
CC [M] /tmp/modconfig-agAfhg/vmnet-only/userif.o
CC [M] /tmp/modconfig-agAfhg/vmnet-only/netif.o
CC [M] /tmp/modconfig-agAfhg/vmnet-only/bridge.o
CC [M] /tmp/modconfig-agAfhg/vmnet-only/procfs.o
CC [M] /tmp/modconfig-agAfhg/vmnet-only/smac_compat.o
CC [M] /tmp/modconfig-agAfhg/vmnet-only/smac.o
CC [M] /tmp/modconfig-agAfhg/vmnet-only/vnetEvent.o
CC [M] /tmp/modconfig-agAfhg/vmnet-only/vnetUserListener.o
/tmp/modconfig-agAfhg/vmnet-only/bridge.c: In function ‘VNetBridgeSendLargePacket’:
/tmp/modconfig-agAfhg/vmnet-only/bridge.c:1413:11: error: implicit declaration of function ‘skb_gso_segment’; did you mean ‘tcp_gso_segment’? [-Werror=implicit-function-declaration]
1413 | segs = skb_gso_segment(skb, 0);
| ^~~~~~~~~~~~~~~
| tcp_gso_segment
/tmp/modconfig-agAfhg/vmnet-only/bridge.c:1413:9: warning: assignment to ‘struct sk_buff *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
1413 | segs = skb_gso_segment(skb, 0);
| ^
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:252: /tmp/modconfig-agAfhg/vmnet-only/bridge.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:2032: /tmp/modconfig-agAfhg/vmnet-only] Error 2
make: *** [Makefile:117: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-agAfhg/vmnet-only'
Unable to install all modules. See log for details.
Hello,
With
6.4.10kernel and workstation17.0.2There is a suggested fix here:
https://communities.vmware.com/t5/VMware-Workstation-Pro/Cannot-compile-vmnet-kernel-module-on-kernel-6-4-10/m-p/2982156
The text was updated successfully, but these errors were encountered: