X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <37281.14907.qm@web113504.mail.gq1.yahoo.com>
References: <596920.90071.qm@web113516.mail.gq1.yahoo.com> <4C2A697F.5020402@redhat.com>
Date: Tue, 29 Jun 2010 14:58:01 -0700 (PDT)
From: Refr Bruhl <refr_bruhl@yahoo.com>
Subject: Re: Shared libraries in Cygwin
To: Eric Blake <eblake@redhat.com>, cygwin@cygwin.com
In-Reply-To: <4C2A697F.5020402@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


Thanks for the info.. It helps

I am building Apache with subversion. That is where I get the error message






----- Original Message ----
From: Eric Blake <eblake@redhat.com>
To: cygwin@cygwin.com
Sent: Tue, June 29, 2010 4:45:35 PM
Subject: Re: Shared libraries in Cygwin

On 06/29/2010 03:43 PM, Refr Bruhl wrote:
> 
> Question
> 
> 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.

> 
> 
> libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries

Look into the documentation of the -no-undefined flag of libtool, and
make sure you are using it.

-- 
Eric Blake  eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


      

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

