Building for CygWin without OpenSSL fails
Damien Miller
djm at mindrot.org
Wed Mar 4 05:23:32 AEDT 2015
On Tue, 3 Mar 2015, John Dow wrote:
> Ok, I think I've figured that out. I used 6.7 stable and it was wrong.
> Now I took 6.8 from master and configure --without-openssl went fine.
> But now when make I see
> ...
> openbsd-compat//libopenbsd-compat.a(xcrypt.o): In function `xcrypt':
> /cygdrive/c/openssh-portable-master/openbsd-compat/xcrypt.c:83:
> undefined reference to `crypt'
> /cygdrive/c/openssh-portable-master/openbsd-compat/xcrypt.c:83:(.text+0x5):
> relocation truncated to fit: R_X86_64_PC32 against undefined symbol
> `crypt'
>
>
> I tried to do
>
> ./configure --without-openssl --with-ldflags=-lcrypt
Try "--with-libs=-lcrypt"
we do try to detect libcrypt already, so if this works then something
else has gone wrong. Do you have the cygwin-crypt package installed?
-d
More information about the openssh-unix-dev
mailing list