From: Peter Claessens Newsgroups: comp.os.msdos.djgpp Subject: stl: multiple definitions Date: Tue, 06 Apr 1999 17:17:07 -0700 Organization: KULeuvenNet Lines: 41 Message-ID: <370AA402.5A082B71@psy.kuleuven.ac.be> NNTP-Posting-Host: marvin.kulnet.kuleuven.ac.be Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------6ACA4E3EA26AC25ED3D137DC" X-Trace: naxos.belnet.be 923412075 7800 134.58.127.3 (6 Apr 1999 15:21:15 GMT) X-Complaints-To: abuse AT belnet DOT be NNTP-Posting-Date: 6 Apr 1999 15:21:15 GMT X-Mailer: Mozilla 4.5 [en] (Win98; I) X-Accept-Language: nl-BE,nl,en Cache-Post-Path: marvin!unknown AT p100pw109 DOT psy DOT kuleuven DOT ac DOT be X-Cache: nntpcache 2.3.2.1 (see http://www.nntpcache.org/) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. --------------6ACA4E3EA26AC25ED3D137DC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Linking a c++ program in rhide including STL headers (map and vector) I get multiple definitions from stlinst.cc , namely for __default_alloc_template::start_free, id ::end_free , ::heap_size , ::free_list , and __malloc_alloc_template<0>::__malloc_alloc_oom_handler . I'm still new to C++ and don't have any idea how to debug the stl source. But probably I'm just making a simple mistake. What am I forgetting? Thanks, Peter. --------------6ACA4E3EA26AC25ED3D137DC Content-Type: text/x-vcard; charset=us-ascii; name="peter.claessens.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Peter Claessens Content-Disposition: attachment; filename="peter.claessens.vcf" begin:vcard n:Claessens;Peter tel;fax:+32 16 32 60 99 tel;home:+32 16 29 17 28 tel;work:+32 16 32 59 30 x-mozilla-html:FALSE org:University of Leuven, Psychology department ;Laboratory for Experimental Psychology adr:;;Tiensestraat 102;Leuven;;B-3000;BELGIUM version:2.1 email;internet:peter DOT claessens AT psy DOT kuleuven DOT ac DOT be fn:Peter Claessens end:vcard --------------6ACA4E3EA26AC25ED3D137DC--