From: "Chapman, Ian [CAR:TM14:EXCH]" Newsgroups: comp.os.msdos.djgpp Subject: String Date: Thu, 27 Jan 2000 22:09:48 -0500 Organization: Nortel Networks Lines: 28 Message-ID: <3891087C.624C5D1A@americasm10.nt.com> NNTP-Posting-Host: 47.199.34.204 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.7 [en] (Win95; U) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi all, I'd like to use the String objects which are part of cpp and libgpp.a. The line ***String x = "abcdetc";*** compiles fine. The Linker is undefined reference to String::String(char const *). I figured I'd got incompatible versions of the various files. I have gcc 2.81 119,808 June 6-98 libgpp.a 394,290 June 6-98 ld 2.8.1 316,982 July 16-97 To get the version I used --version flag. So I figured ld.exe was too old and since I have bnu281.b.zip I logged into a mirror and determined that the latest bnu was still 281 so I pulled it over anyway. The ld.exe is now 317,440 bytes and Dec 31-97. When I ran "ld --version" it tells me "version id - GNU sh-utilities 1.12" which is a wee bit different considering it came from a zip file of the same name. So I'm a bit confused there. In any case the bottom line is the linker is still not able to link to the class String. What can I do now? I've also looked in the mail archives and found that this question has been asked before but I could not find a reply offering more than what I've done. Thank to all of you for the great help in the past. Regards Ian.