From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,241184c81eab5c68 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-12-05 23:45:49 PST Path: supernews.google.com!sn-xit-02!sn-xit-01!supernews.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!sjc1.nntp.concentric.net!newsfeed.concentric.net!newsfeed.ozemail.com.au!ozemail.com.au!not-for-mail From: "Rajanish Calisa" Newsgroups: comp.unix.tru64 References: <3A2CA06A.73D23345@geneprot.com> Subject: Re: cxx std library problem? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: NNTP-Posting-Host: 1cust60.tnt4.syd2.da.uu.net X-Trace: ozemail.com.au 976088716 63.34.196.60 (Wed, 06 Dec 2000 18:45:16 EST) NNTP-Posting-Date: Wed, 06 Dec 2000 18:45:16 EST Organization: OzEmail Ltd, Australia Distribution: world Date: Wed, 6 Dec 2000 18:49:52 +1100 Xref: supernews.google.com comp.unix.tru64:1050 > > > ld: > > Unresolved: > > std::basic_string, std::allocator > > >::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...