delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/03/11:05:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <SGupta AT Epylon DOT com>,
"'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: crypt command
In-Reply-To: <657B20E93E93D4118F9700D0B73CE3EA0D397210@goofy.epylon.lan>
Mime-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019