Any suggestions or thoughts are appreciated. I'm trying to build OpenSSH with a stable snapshot of Openssl 1.0.0, within cygwin. After much effort, the configure process (./configure --with-tcp-wrappers --with-ssl-dir=myssldir) went fine, though I was not able to successfully build due to an error: gcc -o sshd.exe sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o auth-rh-rsa.o sshp ty.o sshlogin.o servconf.o serverloop.o auth.o auth1.o auth2.o auth-options.o se ssion.o auth-chall.o auth2-chall.o groupaccess.o auth-skey.o auth-bsdauth.o auth 2-hostbased.o auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o auth2-jp ake.o monitor_mm.o monitor.o monitor_wrap.o kexdhs.o kexgexs.o auth-krb5.o auth2 -gss.o gss-serv.o gss-serv-krb5.o loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o audit.o audit-bsm.o platform.o sftp-server.o sftp-common.o -L. -Lope nbsd-compat/ -L/home/e/ssl1 -lssh -lopenbsd-compat -lwrap -lresolv -lcrypto -lz /usr/lib/textreadmode.o /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: warning: au to-importing has been activated without --enable-auto-import specified on the co mmand line. This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.openbsd-compat//libopenbsd-compat.a(xcrypt.o): In funct ion `xcrypt': /home/e/openssh-5.2p1/openbsd-compat/xcrypt.c:78: undefined reference to `_crypt ' Info: resolving ___progname by linking to __imp____progname (auto-import) Info: resolving _optarg by linking to __imp__optarg (auto-import) Info: resolving _optind by linking to __imp__optind (auto-import) Info: resolving _optreset by linking to __imp__optreset (auto-import) collect2: ld returned 1 exit status make: *** [sshd.exe] Error 1 e at pc ~/openssh-5.2p1 $ After -- How Strong is Your Score? Click here to see yours for $0! By FreeCreditReport.com
On Jul 29 14:51, hdf sdesdh wrote:> Any suggestions or thoughts are appreciated. I'm trying to build > OpenSSH with a stable snapshot of Openssl 1.0.0, within cygwin. After > much effort, the configure process (./configure --with-tcp-wrappers > --with-ssl-dir=myssldir) went fine, though I was not able to > successfully build due to an error: > [...] > /home/e/openssh-5.2p1/openbsd-compat/xcrypt.c:78: undefined reference to `_cryptYou haven't installed the crypt package. Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat
The crypt package is installed, it comes with the base system if I'm not mistaken. I just tried downloading and extracting it manually, though am receiving the same error. -- An Excellent Credit Score is 750 See Yours in Just 2 Easy Steps! http://ad.doubleclick.net/clk;216722518;39159097;q?http://www.freecreditreport.com/pm/default.aspx?pagetypeid=homepage62&sc=669615&bcd=FOOTER5
I have also installed mcrypt and configure/compile, with no success. -- An Excellent Credit Score is 750 See Yours in Just 2 Easy Steps! http://ad.doubleclick.net/clk;216722518;39159097;q?http://www.freecreditreport.com/pm/default.aspx?pagetypeid=homepage62&sc=669615&bcd=FOOTER5