delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/01/19:57:30

X-Recipient: archive-cygwin AT delorie DOT 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 AT gmail DOT com
To: <cygwin AT cygwin DOT 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 DOT 73729 DOT qm AT web113508 DOT mail DOT gq1 DOT yahoo DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT yahoo DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019