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

opensuse Leap15.6 make vmnet-only 17.5.1 failure #262

Open
bytetronic opened this issue Jul 10, 2024 · 6 comments
Open

opensuse Leap15.6 make vmnet-only 17.5.1 failure #262

bytetronic opened this issue Jul 10, 2024 · 6 comments

Comments

@bytetronic
Copy link

bytetronic commented Jul 10, 2024

Kernel: 6.4.0-150600.23.7-default (64-bit)
executing make with the fix (if it is the correct thing to do?)
in vmnetInt.h line 44:

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 9, 0)
#   define dev_lock_list()    rcu_read_lock()
#   define dev_unlock_list()  rcu_read_unlock()
#else
#   define dev_lock_list()    read_lock(&dev_base_lock)
#   define dev_unlock_list()  read_unlock(&dev_base_lock)
#endif

...
CC [M] /home/xyz/Downloads/install/vmware/vmware-host-modules-workstation-17.5.1/vmnet-only/bridge.o
/home/xyz/Downloads/install/vmware/vmware-host-modules-workstation-17.5.1/vmnet-only/bridge.c: In function ‘VNetBridgeSendLargePacket’:
/home/xyz/Downloads/install/vmware/vmware-host-modules-workstation-17.5.1/vmnet-only/bridge.c:1418:11: error: implicit declaration of function ‘skb_gso_segment’; did you mean ‘tcp_gso_segment’? [-Werror=implicit-function-declaration]
segs = skb_gso_segment(skb, 0);
^~~~~~~~~~~~~~~
tcp_gso_segment
/home/xyz/Downloads/install/vmware/vmware-host-modules-workstation-17.5.1/vmnet-only/bridge.c:1418:9: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
segs = skb_gso_segment(skb, 0);
^
cc1: some warnings being treated as errors

@nan0desu
Copy link

Can you try some of these branches? https://github.com/nan0desu/vmware-host-modules/wiki

@bytetronic
Copy link
Author

Sadly neither
git clone -b tmp/workstation-17.5.2-k6.9-sharishth https://github.com/nan0desu/vmware-host-modules.git
nor
git clone -b tmp/workstation-17.5.2-k6.9.1 https://github.com/nan0desu/vmware-host-modules.git
compiles: same error as above.
On my Leap 15.6 the gcc7 is installed, maybe that's a problem or some kernel stuff is missing and I need to install it?

@munix9
Copy link

munix9 commented Jul 19, 2024

#225

@LeodeFler
Copy link

I stumbled upon this:
https://askubuntu.com/questions/1494239/gnu-c-compiler-gcc-version-12-2-0-was-not-found-vmware/1521670#1521670

There's a line that needs to be added to bridge.c:
After the #include <linux/netdevice.h>, add

#include <net/gso.h>

That fixed Workstation 17 Pro, and it finished the install and is now working.

@bytetronic
Copy link
Author

Thx a lot, the #225, which is including the gso.h and my first attempt together fixed it finally!

@ryanminhs
Copy link

#262

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

No branches or pull requests

5 participants