Date: Mon, 13 Apr 1998 09:24:06 +0300 (IDT) From: Eli Zaretskii To: Jason cc: djgpp AT delorie DOT com Subject: Re: CPP linker problems! In-Reply-To: <01bd667e$14cf8a20$97a325cb@jring> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On 13 Apr 1998, Jason wrote: > "Error: > c:/djgpp/lib/libstdcx.a(iostream.o)(.text+0x1b91):iostream.cc:undefined > reference to '__rtti_class'." > > What does this error mean I'm doing wrong? (the file iostream.cc doesn't > even exist?) Sorry, I don't know how to fix your problem, but I thought I'd at least explain the error message, so you understand what GCC is telling you. If you read the beginning of the message, you will realize that the module which needs a reference to __rtti_class to be resolved is iostream.o from the library c:/djgpp/lib/libstdcx.a. iostream.cc is mentioned to tell you what was the name of the source file which was compiled into iostream.o (this might be important if you had the sources for the C++ library). ``Undefined reference'' means that the linker didn't find another module which defines __rtti_class, so it couldn't resolve the reference made by iostream.o.