Error when compiling openssh-7.2p2

Boris A.
Thu, 14 Jul 2016 08:27:42 -0000

Hello, friends!

   I need help. When I compile openssh-7.2p2 I get the error.

   ./configure
   ..
   OpenSSH has been configured with the following options:
                        User binaries: /usr/local/bin
                      System binaries: /usr/local/sbin
                  Configuration files: /usr/local/etc
                      Askpass program: /usr/local/libexec/ssh-askpass
                         Manual pages: /usr/local/share/man/manX
                             PID file: /var/run
     Privilege separation chroot path: /var/empty
               sshd default user PATH:
   /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
                       Manpage format: doc
                          PAM support: no
                      OSF SIA support: no
                    KerberosV support: no
                      SELinux support: no
                    Smartcard support:
                        S/KEY support: no
                 MD5 password support: no
                      libedit support: no
     Solaris process contract support: no
              Solaris project support: no
            Solaris privilege support: no
          IP address in $DISPLAY hack: no
              Translate v4 in v6 hack: yes
                     BSD Auth support: no
                 Random number source: OpenSSL internal ONLY
                Privsep sandbox style: seccomp_filter
                 Host: x86_64-unknown-linux-gnu
             Compiler: gcc
       Compiler flags: -g -O2 -Wall -Wpointer-arith -Wuninitialized
   -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess
   -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing
   -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-all
   -fPIE
   Preprocessor flags:
         Linker flags:  -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack
   -fstack-protector-all -pie
            Libraries: -lcrypto -ldl -lutil -lz  -lcrypt -lresolv

   make
   ..
   gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare
   -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign
   -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv
   -fno-builtin-memset -fstack-protector-all -fPIE  -I. -I.
   -DSSHDIR=\"/usr/local/etc\"
-D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\"
   -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\"
   -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\"
   -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\"
   -D_PATH_SSH_PKCS11_HELPER=\"/usr/local/libexec/ssh-pkcs11-helper\"
   -D_PATH_SSH_PIDDIR=\"/var/run\"
   -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c
ssh_api.c
   -o ssh_api.o
   In file included from ssh_api.h:26:0,
                    from ssh_api.c:21:
   cipher.h:69:17: error: field `evp' has incomplete type
     EVP_CIPHER_CTX evp;
                    ^
   make: *** [ssh_api.o] Error 1


   3.19.0-64-generic #72~14.04.1-Ubuntu.

   Answer in Google I have not found. Thanks for the reply.

   With best wishes,
   Boris.