With kernel "5.10.0-36" the dkms build fails ("5.10.0-34" and "5.10.0-35" work without an error):
# cat /var/lib/dkms/ovpn-dco/0.2.20250922/build/make.log
DKMS make.log for ovpn-dco-0.2.20250922 for kernel 5.10.0-36-amd64 (x86_64)
Tue Nov 4 12:05:37 CET 2025
/var/lib/dkms/ovpn-dco/0.2.20250922/build/gen-compat-autoconf.sh /var/lib/dkms/ovpn-dco/0.2.20250922/build/compat-autoconf.h
make -C /lib/modules/5.10.0-36-amd64/build M=/var/lib/dkms/ovpn-dco/0.2.20250922/build PWD=/var/lib/dkms/ovpn-dco/0.2.20250922/build REVISION=0.2.20250922 CONFIG_OVPN_DCO_V2=m INSTALL_MOD_DIR=updates/ modules
make[1]: Entering directory '/usr/src/linux-headers-5.10.0-36-amd64'
CC [M] /var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/main.o
CC [M] /var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/bind.o
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h: In function ‘ovpn_udp_tunnel6_xmit_skb’:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:42: warning: passing argument 5 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:149:46: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
149 | struct net_device *dev, struct in6_addr *saddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:49: warning: passing argument 6 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:150:22: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
150 | struct in6_addr *daddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h: In function ‘ovpn_udp_tunnel6_xmit_skb’:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:42: warning: passing argument 5 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:149:46: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
149 | struct net_device *dev, struct in6_addr *saddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:49: warning: passing argument 6 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:150:22: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
150 | struct in6_addr *daddr,
| ~~~~~~~~~~~~~~~~~^~~~~
CC [M] /var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/crypto.o
CC [M] /var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/ovpn.o
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h: In function ‘ovpn_udp_tunnel6_xmit_skb’:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:42: warning: passing argument 5 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:149:46: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
149 | struct net_device *dev, struct in6_addr *saddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:49: warning: passing argument 6 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:150:22: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
150 | struct in6_addr *daddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h: In function ‘ovpn_udp_tunnel6_xmit_skb’:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:42: warning: passing argument 5 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:149:46: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
149 | struct net_device *dev, struct in6_addr *saddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:49: warning: passing argument 6 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:150:22: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
150 | struct in6_addr *daddr,
| ~~~~~~~~~~~~~~~~~^~~~~
CC [M] /var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/peer.o
CC [M] /var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/sock.o
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h: In function ‘ovpn_udp_tunnel6_xmit_skb’:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:42: warning: passing argument 5 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:149:46: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
149 | struct net_device *dev, struct in6_addr *saddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:49: warning: passing argument 6 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:150:22: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
150 | struct in6_addr *daddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h: In function ‘ovpn_udp_tunnel6_xmit_skb’:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:42: warning: passing argument 5 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:149:46: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
149 | struct net_device *dev, struct in6_addr *saddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:49: warning: passing argument 6 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:150:22: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
150 | struct in6_addr *daddr,
| ~~~~~~~~~~~~~~~~~^~~~~
CC [M] /var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/stats.o
CC [M] /var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/netlink.o
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h: In function ‘ovpn_udp_tunnel6_xmit_skb’:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:42: warning: passing argument 5 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:149:46: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
149 | struct net_device *dev, struct in6_addr *saddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:49: warning: passing argument 6 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:150:22: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
150 | struct in6_addr *daddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h: In function ‘ovpn_udp_tunnel6_xmit_skb’:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:42: warning: passing argument 5 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:149:46: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
149 | struct net_device *dev, struct in6_addr *saddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:49: warning: passing argument 6 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:150:22: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
150 | struct in6_addr *daddr,
| ~~~~~~~~~~~~~~~~~^~~~~
CC [M] /var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/crypto_aead.o
CC [M] /var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/pktid.o
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h: In function ‘ovpn_udp_tunnel6_xmit_skb’:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:42: warning: passing argument 5 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:149:46: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
149 | struct net_device *dev, struct in6_addr *saddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:49: warning: passing argument 6 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:150:22: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
150 | struct in6_addr *daddr,
| ~~~~~~~~~~~~~~~~~^~~~~
CC [M] /var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/tcp.o
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h: In function ‘ovpn_udp_tunnel6_xmit_skb’:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:42: warning: passing argument 5 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:149:46: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
149 | struct net_device *dev, struct in6_addr *saddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:49: warning: passing argument 6 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:150:22: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
150 | struct in6_addr *daddr,
| ~~~~~~~~~~~~~~~~~^~~~~
CC [M] /var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/udp.o
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h: In function ‘ovpn_udp_tunnel6_xmit_skb’:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:42: warning: passing argument 5 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:149:46: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
149 | struct net_device *dev, struct in6_addr *saddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:49: warning: passing argument 6 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:150:22: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
150 | struct in6_addr *daddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/tcp.c: In function ‘ovpn_tcp_init’:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:158:26: error: ‘struct proto’ has no member named ‘stream_memory_read’; did you mean ‘stream_memory_free’?
158 | #define sock_is_readable stream_memory_read
| ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/tcp.c:483:16: note: in expansion of macro ‘sock_is_readable’
483 | ovpn_tcp_prot.sock_is_readable = ovpn_tcp_sock_is_readable;
| ^~~~~~~~~~~~~~~~
make[4]: *** [/usr/src/linux-headers-5.10.0-36-common/scripts/Makefile.build:291: /var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco/tcp.o] Fehler 1
make[4]: *** Es wird auf noch nicht beendete Prozesse gewartet....
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h: In function ‘ovpn_udp_tunnel6_xmit_skb’:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:42: warning: passing argument 5 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:149:46: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
149 | struct net_device *dev, struct in6_addr *saddr,
| ~~~~~~~~~~~~~~~~~^~~~~
In file included from <command-line>:
/var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:69:49: warning: passing argument 6 of ‘udp_tunnel6_xmit_skb’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
69 | udp_tunnel6_xmit_skb(dst, sk, skb, dev, saddr, daddr, prio, ttl, label,
| ^~~~~
In file included from /var/lib/dkms/ovpn-dco/0.2.20250922/build/linux-compat.h:45,
from <command-line>:
/usr/src/linux-headers-5.10.0-36-common/include/net/udp_tunnel.h:150:22: note: expected ‘struct in6_addr *’ but argument is of type ‘const struct in6_addr *’
150 | struct in6_addr *daddr,
| ~~~~~~~~~~~~~~~~~^~~~~
make[3]: *** [/usr/src/linux-headers-5.10.0-36-common/scripts/Makefile.build:508: /var/lib/dkms/ovpn-dco/0.2.20250922/build/drivers/net/ovpn-dco] Fehler 2
make[2]: *** [/usr/src/linux-headers-5.10.0-36-common/Makefile:1875: /var/lib/dkms/ovpn-dco/0.2.20250922/build] Fehler 2
make[1]: *** [/usr/src/linux-headers-5.10.0-36-common/Makefile:192: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-36-amd64'
make: *** [Makefile:51: all] Error 2
If more information or tests are needed please feel free to ask.
I did a upgrade of my Debian 11 machine (
apt updateandapt dist-upgrade).This upgraded my Kernel from "5.10.0-35" to "5.10.0-36" (
linux-image-5.10.0-36-amd64).Openvpn and the dco package are installed via the
build.openvpn.net/debian/openvpn/stablerepository:With kernel "5.10.0-36" the dkms build fails ("5.10.0-34" and "5.10.0-35" work without an error):
Current workaround was to downgrade the kernel:
If more information or tests are needed please feel free to ask.