| www.delorie.com/archives/browse.cgi | search |
| 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 |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| X-Authentication-Warning: | jean.mailgate.net: jean set sender to jean AT infosat DOT net using -f |
| Date: | Thu, 10 Jan 2002 11:46:24 +0200 |
| From: | Jean le Roux <jean AT infosat DOT net> |
| To: | cygwin AT cygwin DOT com |
| Subject: | building dll's under cygwin |
| Message-ID: | <20020110114624.A6156@infosat.net> |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.2.5i |
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
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 ?
thanx
--
Jean le Roux
Binary Entropy Catalyst
Cellular: 083 505 6443
I owe the public nothing.
-- J.P. Morgan
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |