Hi,
just FYI:
we are trying to compile OpenSSH 10.3 on OpenBSD 7.8 using procedure
described on
https://www.openssh.org/openbsd.html
but it fails on:
cc -O2 -pipe -I/usr/src/usr.bin/ssh/ssh/.. -fstack-protector-all
-fret-clean -DWITH_OPENSSL -DWITH_ZLIB -DENABLE_PKCS11 -DHAVE_DLOPEN
-Wall -Wextra -Wformat-security -Wmissing-declarations
-Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wshadow
-Wstrict-aliasing=2 -Wstrict-prototypes -Wunused -Wno-unused-parameter
-Widiomatic-parentheses -Wparentheses -Werror -MD -MP -c
/usr/src/usr.bin/ssh/ssh/../misc.c
/usr/src/usr.bin/ssh/ssh/../misc.c:1878:10: error: use of undeclared
identifier 'IPTOS_DSCP_VA'
1878 | { "va", IPTOS_DSCP_VA },
| ^
1 error generated.
*** Error 1 in ssh (<sys.mk>:87 'misc.o')
*** Error 2 in /usr/src/usr.bin/ssh (<bsd.subdir.mk>:48 'all': @for
entry in ssh sshd sshd-session sshd-auth ssh-add ssh-keygen ssh-agent s...)
I think IPTOS_DSCP_VA is missing in the /usr/src/sys/netinet/ip.h header
file of the 7.8 kernel.
Regards,
Pavel Matěja