From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,3b94889d33e8c187 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-01-16 17:41:55 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!news.maxwell.syr.edu!nntp2.deja.com!nnrp1.deja.com!not-for-mail From: l_magnus_j@my-deja.com Newsgroups: comp.unix.tru64 Subject: Re: typeinfo linking problem Date: Wed, 17 Jan 2001 01:29:00 GMT Organization: Deja.com Message-ID: <942sgj$pom$1@nnrp1.deja.com> References: <93l4q6$njt$1@nnrp1.deja.com> NNTP-Posting-Host: 130.110.200.1 X-Article-Creation-Date: Wed Jan 17 01:29:00 2001 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0) X-Http-Proxy: 1.1 x52.deja.com:80 (Squid/1.1.22) for client 130.110.200.1 X-MyDeja-Info: XMYDJUIDl_magnus_j Xref: supernews.google.com comp.unix.tru64:1488 Additional information. This happens when I use STL for the first time, and add the statement: map someMap; Magnus In article <93l4q6$njt$1@nnrp1.deja.com>, l_magnus_j@my-deja.com wrote: > Hello > > I'm having a linking problem that I have trouble tracking down. > > /usr/lib/libcxxstd.a(typeinfo.o): std::__vtbl_3std9type_info: multiply > defined > > When I search under /usr/lib I find two typeinfo.o: > spi01> grep typeinfo /usr/lib/* > /usr/lib/libcxx.a:typeinfo.o 917351990 8887 10 100644 > 5683 Z > /usr/lib/libcxxstd.a:typeinfo.o 904761736 5291 114 100664 > 6205 Z > > How can I prevent both of them to be included? > I am linking with -L/usr/lib > > Thanks > Magnus > > Sent via Deja.com > http://www.deja.com/ > Sent via Deja.com http://www.deja.com/