Re: OpenSSH ver.8.2p1 compilation error on AIX

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Wed, 19 Feb 2020 at 06:38, Val Baranov <val.baranov@xxxxxxxx> wrote:
> AIX 7.1 TL5, OpenSSL ver. 1.1.1d. "vac.C" version 11.0.1.23
> Compilation error " The indirection operator cannot be applied to a pointer to an incomplete struct or union " (see full log below) produced for " libressl-api-compat.c ".
> No such error if compiled with OpenSSL ver. 1.0.2r (and the earlier versions)
> Any idea how to fix? Thank you

Are you sure this is the 8.2p1 source?  The line numbers from the
error messages don't correspond to those in 8.2p1, but they do match
7.9p1.  For example:

> "libressl-api-compat.c", line 619.26: 1506-043 (S) The operand of the sizeof operator is not valid.

$ head -619 openssh-7.9p1/openbsd-compat/libressl-api-compat.c | tail -1
return calloc(1, sizeof(EVP_MD_CTX));
$ head -619 openssh-8.0p1/openbsd-compat/libressl-api-compat.c | tail -1
#ifndef HAVE_EVP_MD_CTX_NEW
$ head -619 openssh-8.2p1/openbsd-compat/libressl-api-compat.c | tail -1
#ifndef HAVE_EVP_MD_CTX_NEW

I don't have VAC so I can't reproduce this myself.   I have built
8.2p1 with a shared-lib openssl-1.1.1d on AIX with GCC, though.

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux