Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ubuntu 18.04编译OpenSSH #17

Open
strangeryf opened this issue May 6, 2020 · 1 comment
Open

ubuntu 18.04编译OpenSSH #17

strangeryf opened this issue May 6, 2020 · 1 comment

Comments

@strangeryf
Copy link

strangeryf commented May 6, 2020

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-strong -fPIE -I. -I. -DSSHDIR="/usr/local/openssh7/etc" -D_PATH_SSH_PROGRAM="/usr/local/openssh7/bin/ssh" -D_PATH_SSH_ASKPASS_DEFAULT="/usr/local/openssh7/libexec/ssh-askpass" -D_PATH_SFTP_SERVER="/usr/local/openssh7/libexec/sftp-server" -D_PATH_SSH_KEY_SIGN="/usr/local/openssh7/libexec/ssh-keysign" -D_PATH_SSH_PKCS11_HELPER="/usr/local/openssh7/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:20:
cipher.h:69:17: error: field ‘evp’ has incomplete type
EVP_CIPHER_CTX evp;
^~~
Makefile:152: recipe for target 'ssh_api.o' failed
make: *** [ssh_api.o] Error 1

似乎是OpenSSL需要1.0,但系统是1.1。

@August66
Copy link

解决了么 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants