I built openssl-1.0.1-beta1 on OpenVOS Release 17.1.0at using the
"vos-gcc" entry in Configure, along with some extra arguments (see
below).
It successfully built and passed all relevant self-tests.
However, several source files reference str(n)casecmp without including
<strings.h>. Since the implicit declaration of str(n)casecmp is
sufficient, I've just ignored this error.
Details for the curious:
The str(n)casecmp functions are XSI extensions to POSIX.
The POSIX standard only requires them to be declared in strings.h. It
appears that the BSD variants of Unix declare them in <string.h>; this
header is commonly included within openssl. No openssl headers include
<strings.h>. I have no idea whether all of the platforms supported by
openssl provide this header file, and so I'm not proposing to add it
now; perhaps it could be added in the HEAD development branch.
The source files that reference str(n)casecmp in our
build are:
crypto/engine/tb_asnmth.c (line 192)
crypto/asn1/ameth_lib.c (line 234)
crypto/x509v3/v3_ncons.c (lines 408, 494)
apps/ca.c (line 2729)
Here is the output of Configure, omitting noise from setting various
environment variables:
perl Configure vos-gcc zlib no-threads no-shared no-asm no-dso no-krb5
no-hw \
no-idea no-rc5 --prefix=/opt/openssl \
--with-zlib-lib=/Languages/Green/install_ssl/openssl/2.1.p4be/local/opt/
openssl/lib \
--with-zlib-include=/Languages/Green/install_ssl/openssl/2.1.p4be/local/
opt/openssl/include
Configuring for vos-gcc
no-asm [option] OPENSSL_NO_ASM
no-dso [option]
no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128
(skip dir)
no-gmp [default] OPENSSL_NO_GMP (skip dir)
no-hw [option] OPENSSL_NO_HW
no-idea [option] OPENSSL_NO_IDEA (skip dir)
no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir)
no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5
no-md2 [default] OPENSSL_NO_MD2 (skip dir)
no-rc5 [option] OPENSSL_NO_RC5 (skip dir)
no-rfc3779 [default] OPENSSL_NO_RFC3779 (skip dir)
no-sctp [default] OPENSSL_NO_SCTP (skip dir)
no-shared [option]
no-store [experimental] OPENSSL_NO_STORE (skip dir)
no-threads [option]
no-zlib-dynamic [default]
...
ALL TESTS SUCCESSFUL.
Thanks
PG
--
Sr. Technical Consultant, Stratus Technologies Inc.
Work: +1-978-461-7557; FAX: +1-978-461-3610; Twitter: stratuspaulg