delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/27/17:22:48

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Sat, 27 Feb 2010 17:55:55 +0100
Message-ID: <115d61a61002270855w5f2403pf7c3c1bb759c6979@mail.gmail.com>
Subject: xerces-c-3.0.1 linking problem
From: Johan De Taeye <johan DOT de DOT taeye AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi,

My application uses the xerces-c-3.0.1 library.
When linking to the library (with libtool), I am getting the following
error message:

/bin/sh ../../libtool --tag=CXX   --mode=link g++  -O3 -s -g -O2
-Wl,--enable-auto-import -o libmylib.la  mycode.lo -lxerces-c
/usr/bin/grep: /usr/lib/gcc/i686-pc-cygwin/4.3.2/libstdc++.la: No such
file or directory
/usr/bin/sed: can't read
/usr/lib/gcc/i686-pc-cygwin/4.3.2/libstdc++.la: No such file or
directory
libtool: link: `/usr/lib/gcc/i686-pc-cygwin/4.3.2/libstdc++.la' is not
a valid libtool archive

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?

Regards,

Johan

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