Tests are failing:
:; gmake tests
...
In file included from /pz/SFW/include/openssl/x509.h:30,
from /pz/SFW/include/openssl/pem.h:17,
from regress/misc/sk-dummy/sk-dummy.c:48:
/pz/SFW/include/openssl/sha.h:56:3: error: conflicting types for
'SHA256_CTX'
56 | } SHA256_CTX;
| ^~~~~~~~~~
In file included from /usr/include/sha2.h:32,
from regress/misc/sk-dummy/sk-dummy.c:28:
/usr/include/sys/sha2.h:89:18: note: previous declaration of
'SHA256_CTX' was here
89 | typedef SHA2_CTX SHA256_CTX;
| ^~~~~~~~~~
/pz/SFW/include/openssl/sha.h:65:16: error: expected identifier or '('
before numeric constant
65 | unsigned char *SHA256(const unsigned char *d, size_t n,
unsigned char *md);
| ^~~~~~
In file included from /pz/SFW/include/openssl/x509.h:30,
from /pz/SFW/include/openssl/pem.h:17,
from regress/misc/sk-dummy/sk-dummy.c:48:
/pz/SFW/include/openssl/sha.h:103:3: error: conflicting types for
'SHA512_CTX'
103 | } SHA512_CTX;
| ^~~~~~~~~~
In file included from /usr/include/sha2.h:32,
from regress/misc/sk-dummy/sk-dummy.c:28:
/usr/include/sys/sha2.h:91:18: note: previous declaration of
'SHA512_CTX' was here
91 | typedef SHA2_CTX SHA512_CTX;
| ^~~~~~~~~~
/pz/SFW/include/openssl/sha.h:108:16: error: expected identifier or '('
before numeric constant
108 | unsigned char *SHA384(const unsigned char *d, size_t n,
unsigned char *md);
| ^~~~~~
/pz/SFW/include/openssl/sha.h:112:16: error: expected identifier or '('
before numeric constant
112 | unsigned char *SHA512(const unsigned char *d, size_t n,
unsigned char *md);
| ^~~~~~
gmake: *** [Makefile:688: regress/misc/sk-dummy/sk-dummy.lo] Error 1
------------------
:; which openssl
/pz/SFW/bin/openssl
:; openssl version
OpenSSL 1.1.1m 14 Dec 2021
Regards.
On 15.02.2022 09:54, Predrag Zecevic wrote:
It compiles on OpenIndiana (https://www.openindiana.org) as well.
Since it delivers own OpenSSH copy, I use to install it on separate
location.
#### http://www.mindrot.org/openssh_snap/openssh-SNAP-20220211.tar.gz
:; autoreconf
# autoreconf (GNU Autoconf) 2.71
:; echo $CC $CXX
/usr/gcc/10/bin/gcc /usr/gcc/10/bin/g++
:; echo $PREFIX
/pz/SFW
:; echo $CFLAGS
-lstdc++ -m64 -march=native -std=c89 -std=c99
-D_POSIX_PTHREAD_SEMANTICS -D_XOPEN_SOURCE=600 -D_FILE_OFFSET_BITS=64
-D__EXTENSIONS__ -I${PREFIX}/include -I${PREFIX}/include/openssl
-I${PREFIX}/apr/include -I${PREFIX}/include/nghttp3 -I/usr/include
-I/usr/gnu/include -I/usr/include/readline -I/usr/include/ncurses
-I/usr/include/idn2
:; ./configure --prefix=${PREFIX}
--sysconfdir=${PREFIX}/etc/openssh
--with-cflags="${CFLAGS} -DHAVE_MBLEN"
--with-kerberos5=${PREFIX}
--with-ssl-dir=${PREFIX}
--with-zlib=${PREFIX}
--with-pam
--with-xauth=/usr/bin/xauth
--with-libedit
--with-mantype=man
--with-solaris-projects
--with-solaris-privs
...
:; gmake
...
:; ./ssh -V
OpenSSH_8.8p1-snap20220211, OpenSSL 1.1.1m 14 Dec 2021
Many thanks, and best regards.
--
Predrag Zečević
predrag.zecevic.1961@xxxxxxxxxxxxxx
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev