Building for CygWin without OpenSSL fails

John Dow gibsonmic at gmail.com
Wed Mar 4 05:06:47 AEDT 2015


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

but configure fails with

checking compiler and flags for sanity... no
configure: error: *** compiler cannot create working executables,
check config.log ***

Here is my config.log
https://www.dropbox.com/s/65jqwybfh4m4msh/config.log?dl=0

I think have libcrypto and not sure what to do next

ls  -ld /lib/libcry*
-rw-r--r-- 1  9 01:05 /lib/libcrypto.a
-rwxr-xr-x  9 01:05 /lib/libcrypto.dll.a

2015-03-03 18:57 GMT+05:00 Corinna Vinschen <vinschen at redhat.com>:
> On Mar  3 18:43, John Dow wrote:
>> Already tried that. It says
>>
>> configure: WARNING: unrecognized options: --without-openssl
>>
>> 2015-03-03 17:56 GMT+05:00 Alex Bligh <alex at alex.org.uk>:
>> > John,
>> >
>> > On 3 Mar 2015, at 07:35, John Dow <gibsonmic at gmail.com> wrote:
>> >
>> >> ./configure > configure.log
>> >> https://www.dropbox.com/s/qgosxm73wdt7jhx/configure.log?dl=0
>> >>
>> >> make OPENSSL=no > make.log
>> >> https://www.dropbox.com/s/o7d5d3lu3jrfhxd/make.log?dl=0
>> >
>> > I know nothing about CygWin building, but you might want to try
>> >
>> > ./configure --without-openssl
>> > make
>> >
>> >
>> > --
>> > Alex Bligh
>
> Uhm, guys?  It's Cygwin, not CygWin.
>
>
> Just saying...
> Corinna
>
> --
> Corinna Vinschen
> Cygwin Maintainer
> Red Hat
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>


More information about the openssh-unix-dev mailing list