From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,241184c81eab5c68,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-12-04 23:59:25 PST From: Alexandre Masselot Newsgroups: comp.unix.tru64 Subject: cxx std library problem? Date: Tue, 05 Dec 2000 08:59:38 +0100 Organization: Swisscom IP+ (post doesn't reflect views of Swisscom) Message-ID: <3A2CA06A.73D23345@geneprot.com> Reply-To: alexandre.masselot@bigfoot.com NNTP-Posting-Host: 194.6.173.122 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------3BFF29AF5B988299641C1462" X-Trace: pollux.ip-plus.net 976002970 16795 194.6.173.122 (5 Dec 2000 07:56:10 GMT) X-Complaints-To: news@ip-plus.net NNTP-Posting-Date: 5 Dec 2000 07:56:10 GMT X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!141.201.2.63!newshunter!cosy.sbg.ac.at!newsmaster-01.atnet.at!atnet.at!news.datacomm.ch!newsfeed-zh.ip-plus.net!news.ip-plus.net!not-for-mail Xref: supernews.google.com comp.unix.tru64:1028 This is a multi-part message in MIME format. --------------3BFF29AF5B988299641C1462 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I'm rather new to Alpha, but after a week trying to get rid of a problem, I'm going to you. I'm using mpich (MPI distribution) over a cluster of Alpha. The code compiles well on Linux x86, either with Kai c++ or g++. porting it to alpha with cxx, any of my separated libraries compile and run well on test case its side. When I try to link the main program, the linker return me only this nice little message: > /home/mochi/masselot/mpich/mpich-1.2.1/bin/mpiCC -O3 > -I/home/mochi/masselot/c++/lib/newran > -I/home/mochi/masselot/c++/lib/MpiBasic > -I/home/mochi/masselot/mpich/mpich-1.2.1include/ > -I/home/mochi/masselot/c++/lib/RobustLinearRegression > -I/home/mochi/masselot/c++/lib/MpiBasic -I/home/mochi/masselot/c++/lib/ > -I. -Dbool_LIB -D__USE_STD_IOSTREAM -c peptid2.cpp > /home/mochi/masselot/mpich/mpich-1.2.1/bin/mpiCC -o peptid2 > -L/home/mochi/masselot/c++/lib -lm -lRobustLinearRegression-cxx > -lSocketServer-cxx -lMpiBasic-cxx -lnewran-cxx WIDBPeptid1.o > WIDataBase.o WIPeptid1.o WIClient.o ProtExp1.o WIMatchDataBase.o > WIMultiMatch.o WIMatch.o WIDBElement.o WIExpData.o peptid2.o > 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 20.3.12 in the third edition) but I cannot find it when I try nm /usr/lib/libcxxstd.a. Any one can help me on this point? best regards Alexandre MAsselot --------------3BFF29AF5B988299641C1462 Content-Type: text/x-vcard; charset=us-ascii; name="alexandre.masselot.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Alexandre Masselot Content-Disposition: attachment; filename="alexandre.masselot.vcf" begin:vcard n:Masselot;Alexandre tel;cell:+41 79 507 63 66 tel;work:+41 22 702 99 81 x-mozilla-html:FALSE version:2.1 email;internet:alexandre.masselot@bigfoot.com adr;quoted-printable:;;GeneBio=0D=0A25, avenue de Champel=0D=0A1206 Gen=E8ve;;;;Switzerland x-mozilla-cpt:;-26112 fn:Alexandre Masselot end:vcard --------------3BFF29AF5B988299641C1462--