Skip to content
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

vmnet-only/bridge.c , In function ‘VNetBridgeSendLargePacket’, implicit declaration of function ‘skb_gso_segment’ #209

Closed
rakotomandimby opened this issue Aug 16, 2023 · 2 comments

Comments

@rakotomandimby
Copy link

Hello,
With 6.4.10 kernel and workstation 17.0.2

vmware-modconfig --console --install-all
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.

There 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

@rakotomandimby
Copy link
Author

Already fixed here: b75cd61

@mkubecek
Copy link
Owner

Next time, before reporting an issue, please check that

  • it hasn't been reported already (it has, four times)
  • it hasn't been fixed already (i has, five days ago)

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants