From: "Rajanish Calisa" <rcalisa@ozemail.com.au>
Subject: Re: cxx std library problem?
Date: Wed, 6 Dec 2000 18:49:52 +1100 [thread overview]
Message-ID: <g8mX5.2252$Vu1.51592@ozemail.com.au> (raw)
In-Reply-To: 3A2CA06A.73D23345@geneprot.com
>
> > ld:
> > Unresolved:
> > std::basic_string<char, std::char_traits<char>, std::allocator<char>
> > >::replace(unsigned long, unsigned long, unsigned long, char)
> > *** Exit 1
> > Stop.
> >
>
> I don't call myself this basic_string::replace method, but certainly mpi
> or someone else, so I cannot get rid of it easily.
> Moreover, it seems to me that such a method is standard (cf Stroudstrup
As far as I know, the headers that come with DEC C++ have a bunch of
pragmas that will instruct the compiler not to instantiate some of the
commonly used templates. Check if you are using "cxx" to line or
"ld" to link, in the later case, you do not link with libcxxstd.so. That
would
then explain the error that your are getting. You can also recompile your
entire application with __FORCE_INSTANTIATIONS to force the
exclusion of the pragmas.
> 20.3.12 in the third edition) but I cannot find it when I try nm
> /usr/lib/libcxxstd.a
>
Try /usr/shlib/libcxxstd.so or /usr/lib/cmplrs/cxx/libcxxstd.so
Hope this helps.
rajanish...
prev parent reply other threads:[~2000-12-06 7:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-05 7:59 cxx std library problem? Alexandre Masselot
2000-12-05 5:00 ` Alexandre Masselot
2000-12-05 5:00 ` Jeremie Petit
2000-12-05 5:00 ` Alexandre Masselot
2000-12-06 5:00 ` Jeremie Petit
2000-12-11 8:34 ` Alexandre Masselot
2000-12-06 7:49 ` Rajanish Calisa [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox