Mail Archives: djgpp/1998/04/13/02:24:33
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.
- Raw text -