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 From: Stefan Hetzl To: cygwin AT cygwin DOT com Subject: Re: libmcrypt - make error with cygwin Date: Thu, 2 Oct 2003 09:57:39 +0200 User-Agent: KMail/1.5.1 References: <3F7BD879 DOT 2050500 AT goerlichgmbh DOT com> In-Reply-To: <3F7BD879.2050500@goerlichgmbh.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200310020958.00208.shetzl@chello.at> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h927xYHK017431 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 02 October 2003 09:49, Marcus Daub wrote: > Ladies and Gentlemen, > > I've tried to install mcrypt with the libmcrypt-2.5.7 with cygwin > version 1.5.5-1 to get mcrypt under Windows. > > But there is an error: > after ./configure I made a make but it left with the error > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../libcygwin.a(libcmain.o)(.tex >t+0x7c): > > undefined reference to '_WinMain AT 16' > > > The hole make output: > make all-recursive > make[1]: Entering directory `/cygdrive/d/Programme/cygwin/lib/libmcrypt' > Making all in modules > make[2]: Entering directory > `/cygdrive/d/Programme/cygwin/lib/libmcrypt/modules' > Making all in algorithms > make[3]: Entering directory > `/cygdrive/d/Programme/cygwin/lib/libmcrypt/modules/algorithms' > /bin/bash ../../libtool --mode=link gcc -g -O2 -no-undefined -o > threeway.la -module -avoid-version -rpath /usr/local/lib/libmcrypt > 3-way.lo > rm -fr .libs/threeway.la .libs/threeway.* .libs/threeway.* > generating symbol list for `threeway.la' > dlltool --export-all --exclude-symbols > DllMain AT 12,_cygwin_dll_entry AT 12,_cygwin_noncygwin_dll_entry AT 12,DllMainCRTSt >artup AT 12,DllEntryPoint AT 12 > > --output-def .libs/threeway.dll-def 3-way.lo > sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < > .libs/threeway.dll-def > .libs/threeway.exp > if test "x`sed 1q .libs/threeway.exp`" = xEXPORTS; then cp > .libs/threeway.exp .libs/threeway.dll-def; else echo EXPORTS > > .libs/threeway.dll-def; _lt_hint=1; cat .libs/threeway.exp | while read > symbol; do set dummy $symbol; case $# in 2) echo " $2 @ $_lt_hint ; " >> > .libs/threeway.dll-def;; 4) echo " $2 $3 $4 ; " >> > .libs/threeway.dll-def; _lt_hint=`expr $_lt_hint - 1`;; *) echo " $2 @ > $_lt_hint $3 ; " >> .libs/threeway.dll-def;; esac; _lt_hint=`expr 1 + > $_lt_hint`; done; fi > gcc -Wl,--base-file,.libs/threeway.dll-base > -Wl,-e,__cygwin_dll_entry AT 12 -o .libs/threeway.dll 3-way.lo > make[3]: Leaving directory > `/cygdrive/d/Programme/cygwin/lib/libmcrypt/modules/algorithms' > make[2]: Leaving directory > `/cygdrive/d/Programme/cygwin/lib/libmcrypt/modules' > make[1]: Leaving directory `/cygdrive/d/Programme/cygwin/lib/libmcrypt' > > > Please find the bug, so that we have a relieable cryption under windows. > Please could you notify me if you have fixed the bug? > > Thanks in advance! > > Marcus Daub > marcus DOT daub AT goerlichgmbh DOT com I am currently in the process of building a cygwin package for libmcrypt. For a quick fix you should try to compile with "make -i". The packages are not yet officially approved, but if you want to you can download them at the following urls: http://stud3.tuwien.ac.at/~e9925353/cygwin/release/libmcrypt/libmcrypt-2.5.7-1.tar.bz2 http://stud3.tuwien.ac.at/~e9925353/cygwin/release/libmcrypt/libmcrypt-devel/libmcrypt-devel-2.5.7-1.tar.bz2 copy both files into a directory of your choice and then in cygwin bash do the following: cd / tar xvjf /path/to/libmcrypt-2.5.7-1.tar.bz2 tar xvjf /path/to/libmcrypt-devel-2.5.7-1.tar.bz2 Greetings, Stefan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE/e9p2KN/5Ocgn19gRAmEXAJ9DK5ZqIpUGtKRpOtsoXmiTSi+B9ACgjThq q/u5isit5iLrTUVCeOxtRHA= =dyb+ -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/