This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
>( , 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.
>         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
> -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
>         /usr/include/mingw/ctype.h:143: undefined reference to `_isctype'
>         collect2: ld returned 1 exit status
>         make[2]: *** [] 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                    
RFK Partners, Inc.            
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]