This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: terminate ?
- To: "Dr. David Gilbert" <dg at px dot uk dot com>
- Subject: Re: terminate ?
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 03 Nov 2000 13:03:34 +0100
- Cc: Phil Edwards <pedwards at disaster dot jaj dot com>, libstdc++ at sources dot redhat dot com
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <Pine.LNX.4.21.0011030940270.24579-100000@springhead.px.uk.com>
"Dr. David Gilbert" <dg@px.uk.com> writes:
| On Thu, 2 Nov 2000, Phil Edwards wrote:
|
| > > 2) There is a missign symbol 'terminate(void)' - where should this come
| > > from?
| >
| > That's part of libsupc++, which should be built automatically along with
| > libstdc++-v3 (but libstdc++-v3 must be enabled for that to all happen).
|
| Hmm - I think this looks like a namespace issue;
|
| springhead:dg:libsupc++:$ nm .libs/libsupc++.a|grep -i terminate
| U __terminate_func
| 00000000 T set_terminate__3stdPFv_v
| 00000004 T terminate__3stdv
| U terminate__3stdv
| U terminate__3stdv
| U __terminate
|
|
| But when I'm loading a library it is complaining of undefined
| symbol: 'terminate__Fv'; Ah - I'm picking up an old library compiled with
| an older gcc and it has the terminate__Fv. So OK - that isn't really a
| problem.
What are your link flags?
| The flags I'm using to build are --enable-libstdcxx-v3 --enable-long-long
| and --enable-shared
Thanks -- those flags are working fine for me on SuSE-7.0.
-- Gaby