On Tue, 30 Dec 2014 at 17:14:38, Marcel Korpel wrote:
Perhaps I'm not that sharp, but I'm not able to compile OpenSSH succesfully.
I followed all steps in INSTALL, but things fail for me after issuing `make` in step 5. My terminal reads:
auth2-pubkey.c: In function ‘user_key_command_allowed2’: auth2-pubkey.c:579:34: error: ‘SSH_FP_MD5’ undeclared (first use in this function) keytext = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX); ^ auth2-pubkey.c:579:34: note: each undeclared identifier is reported only once for each function it appears in auth2-pubkey.c:523:18: warning: unused variable ‘errmsg’ [-Wunused-variable] char *username, errmsg[512]; ^ Makefile:148: recipe for target 'auth2-pubkey.o' failed make: *** [auth2-pubkey.o] Error 1
I suppose SSH_FP_MD5 is a constant, but I cannot find it elsewhere. Is there something I do wrong here?
The patch is built against OpenSSH 6.7p1. Try running `git checkout V_6_7_P1` before applying the patch and running `make`. I will update INSTALL soon.
Regards, Marcel