Article View: gnu.gcc.help
Article #914Re: how can i tell if my new c++ compiler is working?
From: Jonathan Chen
Date: Mon, 04 Sep 1995 23:56
Date: Mon, 04 Sep 1995 23:56
21 lines
1313 bytes
1313 bytes
In <42fktm$g2p@news.acns.nwu.edu> bcc063@casbah.acns.nwu.edu (UNLISTED) writes: >i just finished installing the libg++ library for c++ and i want to test the >compiler to see if it is working. when i try to compile the following little >test file using gcc, >i get these errors: > collect2: ld returned 2 exit status > ld: Undefined symbol > String::length(void) > String::set_to(char *) > String::read(void) > >what do these errors mean i did or didn't do? You didn't write the routines for these functions in the files you supplied. If you're planning on using libg++ String routines, don't use your own home-grown stuff. -- Jonathan Chen e-mail : jonc@pinnacle.co.nz Pinnacle Software Ltd Voice : +64.9.489.7020 Auckland, New Zealand Fax : +64.9.489.7040
Technical Details
Message-ID:
<42g3mm$a10@tui.pinnacle.co.nz>Path:
arc1-ca.pugleaf.net!pinnacle.co.nz!not-for-mailReferences:
<42fktm$g2p@news.acns.nwu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!pinnacle.co.nz!not-for-mail From: jonc@pinnacle.co.nz (Jonathan Chen) Newsgroups: gnu.gcc.help,comp.lang.c++,comp.unix.programmer Subject: Re: how can i tell if my new c++ compiler is working? Date: 5 Sep 1995 11:56:06 +1200 Organization: Pinnacle Software Ltd, Auckland, New Zealand Message-ID: <42g3mm$a10@tui.pinnacle.co.nz> References: <42fktm$g2p@news.acns.nwu.edu> NNTP-Posting-Host: tui.pinnacle.co.nz X-Newsreader: NN version 6.5.0 #1