Open sachinvidhat opened 3 years ago
Make Is Giving This Output:
(cd openbsd-compat && make)
make[1]: Entering directory '/home/cyberwarrior/psiphon/openssh-5.9p1/openbsd-compat'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/cyberwarrior/psiphon/openssh-5.9p1/openbsd-compat'
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -fno-builtin-memset -fstack-protector-all -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 authfd.c
In file included from authfd.c:60:
cipher.h:67:17: error: field ‘evp’ has incomplete type
67 | EVP_CIPHER_CTX evp;
| ^~~
In file included from authfd.c:61:
kex.h:104:11: error: field ‘evp_ctx’ has incomplete type
104 | HMAC_CTX evp_ctx;
| ^~~
authfd.c: In function ‘ssh_get_next_identity’:
authfd.c:334:48: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
334 | buffer_get_bignum(&auth->identities, key->rsa->e);
| ^~
authfd.c:335:48: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
335 | buffer_get_bignum(&auth->identities, key->rsa->n);
| ^~
authfd.c:337:33: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
337 | keybits = BN_num_bits(key->rsa->n);
| ^~
authfd.c:340:28: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
340 | BN_num_bits(key->rsa->n), bits);
| ^~
authfd.c: In function ‘ssh_decrypt_challenge’:
authfd.c:384:46: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
384 | buffer_put_int(&buffer, BN_num_bits(key->rsa->n));
| ^~
authfd.c:385:37: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
385 | buffer_put_bignum(&buffer, key->rsa->e);
| ^~
authfd.c:386:37: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
386 | buffer_put_bignum(&buffer, key->rsa->n);
| ^~
authfd.c: In function ‘ssh_encode_identity_rsa1’:
authfd.c:463:35: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
463 | buffer_put_int(b, BN_num_bits(key->n));
| ^~
authfd.c:464:26: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
464 | buffer_put_bignum(b, key->n);
| ^~
authfd.c:465:26: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
465 | buffer_put_bignum(b, key->e);
| ^~
authfd.c:466:26: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
466 | buffer_put_bignum(b, key->d);
| ^~
authfd.c:468:26: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
468 | buffer_put_bignum(b, key->iqmp); / ssh key->u /
| ^~
authfd.c:469:26: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
469 | buffer_put_bignum(b, key->q); / ssh key->p, SSL key->q /
| ^~
authfd.c:470:26: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
470 | buffer_put_bignum(b, key->p); / ssh key->q, SSL key->p /
| ^~
authfd.c: In function ‘ssh_encode_identity_ssh2’:
authfd.c:480:33: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
480 | buffer_put_bignum2(b, key->rsa->n);
| ^~
authfd.c:481:33: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
481 | buffer_put_bignum2(b, key->rsa->e);
| ^~
authfd.c:482:33: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
482 | buffer_put_bignum2(b, key->rsa->d);
| ^~
authfd.c:483:33: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
483 | buffer_put_bignum2(b, key->rsa->iqmp);
| ^~
authfd.c:484:33: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
484 | buffer_put_bignum2(b, key->rsa->p);
| ^~
authfd.c:485:33: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
485 | buffer_put_bignum2(b, key->rsa->q);
| ^~
authfd.c:493:33: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
493 | buffer_put_bignum2(b, key->rsa->d);
| ^~
authfd.c:494:33: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
494 | buffer_put_bignum2(b, key->rsa->iqmp);
| ^~
authfd.c:495:33: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
495 | buffer_put_bignum2(b, key->rsa->p);
| ^~
authfd.c:496:33: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
496 | buffer_put_bignum2(b, key->rsa->q);
| ^~
authfd.c:499:33: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
499 | buffer_put_bignum2(b, key->dsa->p);
| ^~
authfd.c:500:33: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
500 | buffer_put_bignum2(b, key->dsa->q);
| ^~
authfd.c:501:33: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
501 | buffer_put_bignum2(b, key->dsa->g);
| ^~
authfd.c:502:33: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
502 | buffer_put_bignum2(b, key->dsa->pub_key);
| ^~
authfd.c:503:33: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
503 | buffer_put_bignum2(b, key->dsa->priv_key);
| ^~
authfd.c:511:33: error: invalid use of incomplete typedef ‘DSA’ {aka ‘struct dsa_st’}
511 | buffer_put_bignum2(b, key->dsa->priv_key);
| ^~
authfd.c: In function ‘ssh_remove_identity’:
authfd.c:606:44: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
606 | buffer_put_int(&msg, BN_num_bits(key->rsa->n));
| ^~
authfd.c:607:35: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
607 | buffer_put_bignum(&msg, key->rsa->e);
| ^~
authfd.c:608:35: error: invalid use of incomplete typedef ‘RSA’ {aka ‘struct rsa_st’}
608 | buffer_put_bignum(&msg, key->rsa->n);
| ^~
make: *** [Makefile:129: authfd.o] Error 1
~/psiphon$ cp openssh-5.9p1/ssh . cp: cannot stat 'openssh-5.9p1/ssh': No such file or directory
~:$ git clone https://github.com/thispc/psiphon.git
~:$ cd psiphon
Source : How do I install Psiphon on Ubuntu 14.04 LTS (Step by Step) and open README.md
for instructions.
~:$ sudo apt-get install software-properties-common
~:$ sudo apt-add-repository -y ppa:rael-gc/rvm
~:$ sudo apt-get update
~:$ sudo apt-get install rvm
~:$ sudo apt install libssl1.0-dev
Source: ./configure
fails when using libssl-dev 1.1.0g #22
psiphon:~$ cd openssh-5.9p1
openssh-5.9p1:~$ ./configure
openssh-5.9p1:~$ make
openssh-5.9p1:~$ cd ..
psiphon:~$ rm ssh
psiphon:~$ cp openssh-5.9p1/ssh .
~/psiphon$ cp openssh-5.9p1/ssh . cp: cannot stat 'openssh-5.9p1/ssh': No such file or directory