This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Undefined References using libtool
- From: "Roy Clemmons" <royclem at ev1 dot net>
- To: <cygwin at cygwin dot com>
- Date: Fri, 19 Dec 2003 12:46:55 -0600
- Subject: Undefined References using libtool
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/