Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: More compiler problems
- To: Tokyo Linux Users Group <tlug@example.com>
- Subject: Re: tlug: More compiler problems
- From: Scott Stone <sstone@example.com>
- Date: Wed, 4 Nov 1998 09:38:32 +0900 (JST)
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- In-Reply-To: <Pine.LNX.3.96.981101182440.12516A-100000@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
On Sun, 1 Nov 1998, Michael Casinghino wrote: > I have recently installed egcs-1.1b and now this > > #include <string> > > int main() > { > string name = "Your name here"; > } > > gives the linker errors: > > /tmp/cca125301.o: In function `grab__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i03Rep': > /tmp/cca125301.o(.gnu.linkonce.t.grab__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i03Rep+0xf): undefined reference to `clone__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i03Rep' > /tmp/cca125301.o: In function `release__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i03Rep': > /tmp/cca125301.o(.gnu.linkonce.t.release__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i03Rep+0x13): undefined reference to `__dl__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b0i03RepPv' > collect2: ld returned 1 exit status > > Before I re-install egcs, any suggestions on troubleshooting? > > I recently bought Bjarne Stroustrup's "The C++ Programming Language" > and was very excited to sit down and use all these new standard > library classes. Is there a freeware library that has most or all of > these new features (str, valarray, etc)? Egcs is in dire need of all > the king's horses and all the king's men. Did you rebuild libstdc++ with egcs? Use the libstdc++ that comes with egcs, and for God's sake, get the hell RID of libg++ from your old gcc compiler :) -------------------------------------------------- Scott M. Stone <sstone@example.com, sstone@example.com> Head of TurboLinux Development/Systems Administrator Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan) ---------------------------------------------------------------- Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691 Next Technical Meeting: 12 December, 12:30 HSBC Securities Office ---------------------------------------------------------------- more info: http://tlug.linux.or.jp Sponsors: PHT, HSBC Securities
- References:
- tlug: More compiler problems
- From: Michael Casinghino <michael@example.com>
Home | Main Index | Thread Index
- Prev by Date: tlug: thanks
- Next by Date: tlug: SPARC floppy drives..?
- Prev by thread: tlug: More compiler problems
- Next by thread: tlug: Announcement: Tlug Advocacy Mailing List
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links