X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4C2A697F.5020402@redhat.com> Date: Tue, 29 Jun 2010 15:45:35 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100621 Fedora/3.0.5-1.fc13 Lightning/1.0b2pre Mnenhy/0.8.2 Thunderbird/3.0.5 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Shared libraries in Cygwin References: <596920 DOT 90071 DOT qm AT web113516 DOT mail DOT gq1 DOT yahoo DOT com> In-Reply-To: <596920.90071.qm@web113516.mail.gq1.yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig453C09CD02C0E123217FBD3A" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 --------------enig453C09CD02C0E123217FBD3A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 06/29/2010 03:43 PM, Refr Bruhl wrote: >=20 > Question >=20 > Since I get the message below does this mean cygwin cannot compile shared= libraries? Quite the contrary - cygwin1.dll is a shared library, which means not only can cygwin compile shared libraries, but it depends on them! > Or if a shared library is defined special action needs to be taken for cygwin? The special action being that all symbols must be defined in advance. >=20 >=20 > libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin s= hared libraries Look into the documentation of the -no-undefined flag of libtool, and make sure you are using it. --=20 Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig453C09CD02C0E123217FBD3A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJMKml/AAoJEKeha0olJ0NqIo0H/jXpEcTBJfoC7KYkLIJs+lot RhDSxhXoe2vcc/mR02xYitdMYFsv1H22hnHSMAXj3bo2oWlzQhTqkaDbybxfN5KR RAwPDUgf+9s59ZxnMC5tpBc+XjqqH/pKfJmBXC8ND9SGFzwYB0jxtjtUaZMhihlR 1GcHBKG7MbQGsFt5AjXBEdumz62QLHb8pWSAXhccOn0XCCgokrcPGcRdbhN3VQzM JBZVcD5zvmG2KGWlzMkBSaEoJ9aTpupnkRa5asjyWClq2Ci5yJZRxwY5f/vWr1C9 rbCf+A4RY31dPLaU1wonGgqdduUdaRkro6ut5xIpdwex3tWV8e7a6VD8OmFixts= =FZ9P -----END PGP SIGNATURE----- --------------enig453C09CD02C0E123217FBD3A--