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 Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 10 Jan 2002 11:18:11 +0100 From: "Gerrit P. Haase" X-Mailer: The Bat! (v1.53t) Business Reply-To: "Gerrit P. Haase" Organization: convey Information Systems GmbH X-Priority: 3 (Normal) Message-ID: <1482519482.20020110111811@familiehaase.de> To: Jean le Roux CC: cygwin AT cygwin DOT com Subject: Re: building dll's under cygwin In-Reply-To: <20020110114624.A6156@infosat.net> References: <20020110114624 DOT A6156 AT infosat DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jean, 2002-01-10 11:15:36, du schriebst: > Hi all > Seems I've been on the receiving end of all the advice so far.. hope > this will change in the future :) > Until then.. here is the next piece of pain ;) > I use the autotools(all of them) to build my project. I've read the > whole of chapter 25 of the Autobook-1.3, and all I could find on > dll's in the faq and in this list's archives.. and I'm still stumped :( > Here is what my compiler tells me: > cd . \ > && CONFIG_FILES= CONFIG_HEADERS=config.h \ > /bin/sh ./config.status > creating config.h > config.h is unchanged > make all-recursive > make[1]: Entering directory `/cygdrive/e/projects/myproject' > Making all in libsrc > make[2]: Entering directory `/cygdrive/e/projects/myproject/libsrc' > /bin/sh ../libtool --mode=link c++ -g -O2 -o libpmfp.la -rpath /usr/local/lib --no-undefined --version-info 0:0:0 common.lo pmfp.lo pmfp_log.lo crypto.lo mckey.lo > libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries > rm -fr .libs/libpmfp.la .libs/libpmfp.* .libs/libpmfp.* > ar cru .libs/libpmfp.a common.o pmfp.o pmfp_log.o crypto.o mckey.o > ranlib .libs/libpmfp.a > creating libpmfp.la > (cd .libs && rm -f libpmfp.la && ln -s ../libpmfp.la libpmfp.la) > make[2]: Leaving directory `/cygdrive/e/projects/myproject/libsrc' > make[2]: Entering directory `/cygdrive/e/projects/myproject' > cd . \ > && CONFIG_FILES= CONFIG_HEADERS=config.h \ > /bin/sh ./config.status > creating config.h > config.h is unchanged > make[2]: Leaving directory `/cygdrive/e/projects/myproject' > make[1]: Leaving directory `/cygdrive/e/projects/myproject' > Now, from what I understand, the --no-undefined switch should It is `-no-undefined' and also just `-version-info', `-export-symbols' and so on, not `--xxx-xxx'. > pre-empt any " warning: undefined symbols ..." warnings. > I suspect if this is solved, then the dll will be created. > In my configure.in i do have AC_LIBTOOL_WIN32_DLL, which seems to be > the only major thing to look out for. > Anyone else had this problem before ? Gerrit -- begin signature: =^..^= end -- 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/