Undefined References using libtool

Roy Clemmons royclem@ev1.net
Fri Dec 19 21:18:00 GMT 2003


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/



More information about the Cygwin mailing list