Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <4.3.1.2.20020403110314.02611580@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com Date: Wed, 03 Apr 2002 11:04:13 -0500 To: "Gupta, Sanjay" , "'cygwin AT cygwin DOT com'" From: "Larry Hall (RFK Partners, Inc)" Subject: Re: crypt command In-Reply-To: <657B20E93E93D4118F9700D0B73CE3EA0D397210@goofy.epylon.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 AT rfk DOT 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/