Building on cygwin: xcrypt error

hdf sdesdh animorph22 at mail.com
Thu Jul 30 05:51:34 EST 2009


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



More information about the openssh-unix-dev mailing list