Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenSSH: Dev

Building on cygwin: xcrypt error

 

 

OpenSSH dev RSS feed   Index | Next | Previous | View Threaded


animorph22 at mail

Jul 29, 2009, 12:51 PM

Post #1 of 4 (1246 views)
Permalink
Building on cygwin: xcrypt error

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] p ~/openssh-5.2p1
$

After


--
How Strong is Your Score?
Click here to see yours for $0!
By FreeCreditReport.com

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev [at] mindrot
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


vinschen at redhat

Jul 30, 2009, 12:47 AM

Post #2 of 4 (1173 views)
Permalink
Re: Building on cygwin: xcrypt error [In reply to]

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 `_crypt

You haven't installed the crypt package.


Corinna

--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev [at] mindrot
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


animorph22 at mail

Jul 30, 2009, 7:52 AM

Post #3 of 4 (1164 views)
Permalink
Re: Building on cygwin: xcrypt error [In reply to]

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

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev [at] mindrot
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev


animorph22 at mail

Jul 30, 2009, 8:01 AM

Post #4 of 4 (1166 views)
Permalink
Re: Building on cygwin: xcrypt error [In reply to]

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

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev [at] mindrot
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

OpenSSH dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.