Date: Tue, 8 Jun 1999 11:38:35 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: George Hicken cc: djgpp AT delorie DOT com Subject: Re: Undefined String::String(void) problem In-Reply-To: <7jgp9l$qm2$1@nnrp1.deja.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 7 Jun 1999, George Hicken wrote: > > I am attempting to use _String.h. > > The program compiles okay, but when attempting to link it all the > > String:: functions I call throw up undefined errors. > > I am not sure if this is related, but ld claims that libgpp.a is not a > recognised file format. It probably *is* related, since the String class is in libgpp.a (AFAIK). > GNU ld version 2.8.1 (with BFD 2.8.1) > c:/djgpp/bin/ld.exe: cannot open -lgpp: File format not recognised This usually means that the linker cannot find libgpp.a. Make sure libgpp.a is in your lib subdirectory. If that doesn't help, add -v to the compiler switches and post here everything it prints during compilation and linking.