-
Notifications
You must be signed in to change notification settings - Fork 11
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
app-emulation/vmware-modules build failure with kernel >=6.4.10, patch needed #127
Comments
The upstream patch breaks compilation for older kernels: mkubecek/vmware-host-modules#204 (comment) I used a patch similar to yours instead: diff -ur vmware-host-modules-efc76a69acebb66409af5f267c51ccc027e057e6.orig/vmnet-only/bridge.c vmware-host-modules-efc76a69acebb66409af5f267c51ccc027e057e6/vmnet-only/bridge.c
--- vmware-host-modules-efc76a69acebb66409af5f267c51ccc027e057e6.orig/vmnet-only/bridge.c 2023-02-17 09:50:22.000000000 +0100
+++ vmware-host-modules-efc76a69acebb66409af5f267c51ccc027e057e6/vmnet-only/bridge.c 2023-08-12 15:50:11.915654613 +0200
@@ -45,6 +45,13 @@
#include <net/tcp.h>
#include <net/ipv6.h>
+/* This fixes moving skb_gso_segment(skb, 0); to net/gso.h from kernel 6.4.10
+* and later.
+*/
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 4, 10)
+# include <net/gso.h>
+#endif
+
#ifdef CONFIG_NET_RADIO
# include <linux/wireless.h>
#endif Thank you for the bug report and please test the latest version of the "vmware-modules" package on 6.4.10. |
Yes, it builds fine, thanks for the excellent response! |
Maybe it's worth integrating the latest fixes from mkubecek/vmware-host-modules@8b2d314 |
If it's not broken, don't fix it. We'll get those commits anyway, when upgrading for 6.5. |
After upgrading today to 6.4.10, vmware-modules could not build because 6.4.10 introduced a new header file and by default is not included in vmnet. mkubecek committed a patch here: mkubecek/vmware-host-modules@b75cd61
A temporary workaround is a small patch in user portage patches directory:
The text was updated successfully, but these errors were encountered: