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: <40325486.6010007@users.sourceforge.net> Date: Tue, 17 Feb 2004 12:51:02 -0500 From: Yaakov Selkowitz User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Building dll's and executables in same package References: <402C2069 DOT 7070403 AT users DOT sourceforge DOT net> <402C3B62 DOT 6000902 AT cwilson DOT fastmail DOT fm> In-Reply-To: <402C3B62.6000902@cwilson.fastmail.fm> X-Enigmail-Version: 0.83.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [68.161.122.229] at Tue, 17 Feb 2004 11:51:09 -0600 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Charles Wilson wrote: | Don't use dlltool. It's old and crotchety. Use gcc -shared (or | libtool). For examples, see the dllhelpers | here:http://www.neuro.gatech.edu/users/cwilson/cygutils/dll-stuff/index.html OK, so I got the dllhelpers-0.4.1 and tried out the c_autotools stuff, bootstrapped it, and everything built fine. But when I get back to clamav (and I've seen this before too), it just doesn't work. In short, I do the following: 1) aclocal 2) libtoolize --copy --force, which tells me to run 3) aclocal 4) autoheader (clamav needs this) 5) automake --add-missing --copy --force-missing 6) autoconf I don't get any warnings when I do this, and it seemingly configures fine. But when I go to make, it fails seriously: make all-recursive make[1]: Entering directory `/home/Yaakov/devel/testing/clamav/clamav-0.67/.build' Making all in libclamav make[2]: Entering directory `/home/Yaakov/devel/testing/clamav/clamav-0.67/.build/libclamav' if /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. - -I/home/Yaakov/devel/testing/clamav/clamav-0.67/libclamav -I.. -I.. - -I/home/Yaakov/devel/testing/clamav/clamav-0.67/libclamav/zziplib -O2 - -MT matcher.lo -MD -MP -MF ".deps/matcher.Tpo" \ ~ -c -o matcher.lo `test -f '/home/Yaakov/devel/testing/clamav/clamav-0.67/libclamav/matcher.c' || echo '/home/Yaakov/devel/testing/clamav/clamav-0.67/libclamav/'`/home/Yaakov/devel/testing/clamav/clamav-0.67/libclamav/matcher.c; \ then mv -f ".deps/matcher.Tpo" ".deps/matcher.Plo"; \ else rm -f ".deps/matcher.Tpo"; exit 1; \ fi ../libtool: line 1: s%^.*/%%: No such file or directory ../libtool: line 1: -e: command not found *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require -mode=MODE be specified. ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found ../libtool: line 1: -e: command not found : compile: cannot determine name of library object from `' make[2]: *** [matcher.lo] Error 1 make[2]: Leaving directory `/home/Yaakov/devel/testing/clamav/clamav-0.67/.build/libclamav' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Yaakov/devel/testing/clamav/clamav-0.67/.build' make: *** [all] Error 2 What's going on here? | And make sure you're using a new(er) libtool/autoconf, like | autoconf-devel-2.59 and libtool-devel-1.5. $ cygcheck -c autoconf-devel automake-devel libtool-devel Cygwin Package Information Package Version Status autoconf-devel 2.59-1 OK automake-devel 1.7.9-1 OK libtool-devel 1.5-3 OK Thanks for your help. Yaakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAMlSFpiWmPGlmQSMRAkjuAJ9ff90EFavW/+R0QouJjon8DPYVHQCeN8wb mdQsato7c9PwmXbJyQR2d54= =hyaa -----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/