From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,9b78071663d6c388,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-10-24 07:31:00 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: arkam@caramail.com (arkam) Newsgroups: comp.unix.tru64 Subject: standard library problem by linking with ld Date: 24 Oct 2001 07:31:00 -0700 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 194.209.59.56 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1003933860 23725 127.0.0.1 (24 Oct 2001 14:31:00 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 24 Oct 2001 14:31:00 GMT Xref: archiver1.google.com comp.unix.tru64:5505 hi, When linking my program with ld i get 3 unresolved : substr find append they all come from basic_string ! which library should i add or is the order important ? ld -shared -taso -o ./libuser3gl.so IIu3gltab.obj /home/users/sde02/CMySock.o /home/users/sde02/go.o /home/users/sde02/ingres/lib/libingres.a /home/users/sde02/lib/libingres605.a -lcxxstd -lexc -lcxx -lX11 -ldnet_stub -lm -lc -lrt -lpthread -L/usr/lib -lc -lm What could be wrong ? DIGITAL 4.0, cxx 6.1