X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.0 required=5.0	tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <20100702085717.1456@binki>
Date: Fri, 02 Jul 2010 08:57:17 +0900
From: dhenman@gmail.com
To: <cygwin@cygwin.com>
Subject: Re: libtool and shared libraries
In-reply-to: Your message of Thu, 1 Jul 2010 09:18:53 -0700 (PDT)	 <158763.73729.qm@web113508.mail.gq1.yahoo.com>
References: <158763.73729.qm@web113508.mail.gq1.yahoo.com>
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


I to have run into the same problem.  

Interesting fact: I was able to successfully build and install Gnu Mailutils last year,
July 2009.  It contained then most of the example <source>.cc files that will now, (sometime in 2010) compile, but it did then.  

This indicates that it just be a libtool or other make chain related tools that doesn't quite cut the mustard, with regards to C++ progamming language source code.

Has anyone else had trouble with makeing C++ programs with cygwin's program building chain of tools?  

Regards
  D. Henman


Refr Bruhl <refr_bruhl@yahoo.com> wrote:
> Team
> 
> I've three different issues that I think are related to the same base problem. It appears the libtool complains of unresolved symbols. Instead of a warning it looks like this is a fatal error which prevents compiling
> 
> So far I have gotten this error in compiling subversion, apache, and mailutils (2.0 and 2.1). 
> 
> 
> Error in make log
> libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries
> 
> 
> *** Warning: This system can not link to static lib archive ../mailbox/libmailutils.la.
> *** I have the capability to make that library automatically link in when
> *** you link to this library.  But I can only do this if you have a
> *** shared version of the library, which you do not appear to have.
> libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries
... snipped rest

--
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

