This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: crypt command
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- To: "Gupta, Sanjay" <SGupta at Epylon dot com>, "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Wed, 03 Apr 2002 11:04:13 -0500
- Subject: Re: crypt command
At 06:02 PM 4/2/2002, Gupta, Sanjay wrote:
>Since the crypt command in cygwin does not work same as crypt command in
>Unix, so somebody suggesed use mcrypt command
>(http://mcrypt.hellug.gr/mcrypt/index.html) , I was able to download mcrypt
>source and there required library files Libmhash and Libmcrypt but when I
>compile mhash on cygwin, I get the following error.
>Does any body know how to solve this problem.
>
>Thanks
>Sanjay
>
> Here is the error :-
>
> make all-recursive
> make[1]: Entering directory `/usr/src/mhash-0.8.14'
> Making all in lib
> make[2]: Entering directory `/usr/src/mhash-0.8.14/lib'
> /bin/sh ../libtool --silent --mode=link gcc -g -O2 -mno-cygwin -o
>libmhash.la -rpath /usr/local/lib -version-info 2 -no-undefined
>-export-symbols ./libmhash.sym mhash.lo swap.lo bzero.lo crc32.lo md5.lo
>sha1.lo haval.lo tiger.lo tiger_sboxes.lo gosthash.lo keygen_hex.lo
>keygen_mcrypt.lo keygen_asis.lo keygen.lo keygen_s2k.lo ripemd.lo md4.lo
>sha256.lo adler32.lo
> keygen_hex.lo: In function `check_hex':
> /usr/include/mingw/ctype.h:143: undefined reference to
>`_imp___pctype'
> /usr/include/mingw/ctype.h:143: undefined reference to `_isctype'
> collect2: ld returned 1 exit status
> make[2]: *** [libmhash.la] Error 1
> make[2]: Leaving directory `/usr/src/mhash-0.8.14/lib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/mhash-0.8.14'
> make: *** [all] Error 2
Perhaps you'd be better off building this with Cygwin (i.e. sans -mno-cygwin)?
Larry Hall lhall@rfk.com
RFK Partners, Inc. http://www.rfk.com
838 Washington Street (508) 893-9779 - RFK Office
Holliston, MA 01746 (508) 893-9889 - FAX
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/