X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 	tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4B89505C.9020409@cwilson.fastmail.fm>
Date: Sat, 27 Feb 2010 12:03:24 -0500
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: xerces-c-3.0.1 linking problem
References: <115d61a61002270855w5f2403pf7c3c1bb759c6979@mail.gmail.com>
In-Reply-To: <115d61a61002270855w5f2403pf7c3c1bb759c6979@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

Johan De Taeye wrote:

> Note the version of libstdc++ the above is trying to find: 4.3.2
> The current version in cywgin is 4.3.4.
> 
> It looks to me that the libxerces-c-3.0.1 libraries were created with
> an older version of the compiler and are not up to date any more.
> Is this a bug? Or am I missing something?

Nope, you're correct. C++ libraries must all be compiled with compatible
versions of the same compiler.  Now, it's possible that 4.3.2 and 4.3.4
are compatible, but the libtool .la file records the EXACT version number.

One possible work around -- which may work, but might not -- is to
simply delete the xerces .la files and try to build your app again.

I'll release an updated xerces package in due course, but there are
other things higher on the TODO list...

--
Chuck


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

