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 >
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=-lcryptTry "--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
On Mar 4 05:23, Damien Miller wrote:> 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?If that's on x86_64 Cygwin, the libcrypt-devel package is required for building against libcrypt. On 32 bit the package is still not split, so the crypt package alone is sufficent. HTH, Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20150303/68863c4e/attachment-0001.bin>
Seemingly Similar Threads
- greater than 8 character passwords on Unixware (IA database support)
- greater than 8 character passwords on SCO OSR6
- Question on undefined reference to 'crypt'
- [LLVMdev] MC X86 lacking support for hyphenated VIA Padlock instructions
- Variable declarations in xcrypt.c