-
Notifications
You must be signed in to change notification settings - Fork 23
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
dkms: autoinstall for kernel: 6.5.0-rc5 failed! #42
Comments
Same issue since kernel v6.4.10, adding
in the include directives of Thanks! |
Thanks for the report and for the hints guys! |
Feel free to test latest master and report any finding. Thanks! |
Hi, thanks for this fix! I'm wonder whether it is possible to upload ovpn-dco codebase to fedora copr repository? Currently on FC38 it is impossible to install ovpn-dco from copr because of this compilation error:
Compile log:
|
I find that in OpenWrt, this also having same error when I compile. |
@fakemanhk the fix is in master |
When will this make it to the openvpn rhel 9 repository? |
https://copr.fedorainfracloud.org/coprs/dsommers/openvpn3/ has been updated with the new version. packages.openvpn.net/openvpn3 will be updated some time this week. The only difference is that packages on packages.openvpn.net are officially supported. |
Dear Maintainers,
here is the fixed header with it the code compiles smoothly
linux-compat.h.gz
Sadly the ovpn modules fails to compile under kernel 6.5-rc5
proposed fix
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1919159.html
Andreas
CC [M] /usr/src/ovpn-dco-0.0+git20230324/drivers/net/ovpn-dco/ovpn.o /usr/src/ovpn-dco-0.0+git20230324/drivers/net/ovpn-dco/ovpn.c: In function 'ovpn_net_xmit': /usr/src/ovpn-dco-0.0+git20230324/drivers/net/ovpn-dco/ovpn.c:432:28: error: implicit declaration of function 'skb_gso_segment'; did you mean 'skb_gso_reset'? [-Werror=implicit-function-declaration] 432 | segments = skb_gso_segment(skb, 0); | ^~~~~~~~~~~~~~~ | skb_gso_reset /usr/src/ovpn-dco-0.0+git20230324/drivers/net/ovpn-dco/ovpn.c:432:26: warning: assignment to 'struct sk_buff *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 432 | segments = skb_gso_segment(skb, 0); | ^ cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:243: /usr/src/ovpn-dco-0.0+git20230324/drivers/net/ovpn-dco/ovpn.o] Error 1 make[3]: *** [scripts/Makefile.build:480: /usr/src/ovpn-dco-0.0+git20230324/drivers/net/ovpn-dco] Error 2 make[2]: *** [/usr/src/linux-headers-6.5.0-rc5/Makefile:2032: /usr/src/ovpn-dco-0.0+git20230324] Error 2 make[1]: *** [Makefile:234: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-rc5' make: *** [Makefile:52: all] Error 2
uname -a
Linux ghost 6.5.0-rc5 #1 SMP PREEMPT_DYNAMIC Wed Aug 9 14:43:13 CEST 2023 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: