This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Linkage errors running make check.
- To: <libstdc++ at sourceware dot cygnus dot com>
- Subject: Linkage errors running make check.
- From: "oliver" <oliver at zeroknowledge dot com>
- Date: Fri, 9 Jun 2000 16:09:36 -0400
- Reply-To: <oliver at zeroknowledge dot com>
Hi,
I'm building on a fresh RedHat linux 6.2 system, w/ gcc 2.95.2 built from
source.
After rebuilding gcc2.95.2 with libstdc++ according to the directions, with
the following config:
[root@oliver2 objs]#
/turf/gcc-2.95.2/configure --prefix=/usr/local/ --enable-threads=posix --ena
ble-shared --enable-languages=c++ --enable-namespaces --enable-long-long
I get a plethora of linkage errors when I run make check, here's a sample:
/turf/gcc-2.95.2/libstdc++/stl/bits/std_stdexcept.h(.gnu.linkonce.t._._Q23st
d11range_error+0xb): undefined reference to `std::exception virtual table'
/turf/gcc-2.95.2/libstdc++/stl/bits/std_stdexcept.h(.gnu.linkonce.t.__tfQ23s
td11range_error+0x22): undefined reference to `std::exception type_info
function'
/turf/gcc-2.95.2/libstdc++/stl/bits/std_stdexcept.h(.gnu.linkonce.t.__tfQ23s
td11range_error+0x2a): undefined reference to `std::exception type_info
node'
./src/.libs/libstdc++.a(localename.o): In function
`std::locale::_Impl::_Impl(std::locale::_Impl const &,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const
&, int, unsigned int)':
/turf/gcc-2.95.2/libstdc++/stl/bits/stl_vector.h:251: undefined reference to
`std::terminate(void)'
All the errors I saw were related to std::exception or std::terminate(void)
(although there may be a small number of others)
After several attempts to change directory configurations, make sure my
environment is sane etc, I can't seem to get rid of this. Can anyone give me
a hint as to what might be going wrong?
~ol