delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/19/13:46:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <02a001c3c660$7a18c6b0$b1053fd1@royclem>
From: "Roy Clemmons" <royclem AT ev1 DOT net>
To: <cygwin AT cygwin DOT com>
Subject: Undefined References using libtool
Date: Fri, 19 Dec 2003 12:46:55 -0600
MIME-Version: 1.0

Greetings,

I am porting a Linux app to Windows using cygwin 1.5.5-1 and libtool
1.5 (1.1220.2.1 2003/04/14 22:48:00).

I have successfully compiled the app but when I attempt to link it
using libtool I receive many unreferenced errors.

A sampling of the errors:

undefined reference to `std::ios_base::Init::Init[in-charge
undefined reference to `___gxx_personality_sj0'
undefined reference to `std::basic_string<char,
std::char__empty_rep_storage'

These errors appear to be related to the STL but I am using g++. A
portion of my command line is:

/bin/bash ./libtool --silent --mode=link g++ -O3 -Wall

I've even tried linking with the stdc++ library.

What's going on?  Is there a workaround or a solution?  A search on
the net seemed to indicate that libtool 1.5.3 was needed. If true,
where do I obtain this release for cygwin?

Thanks,

Roy



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

- Raw text -


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