delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/13/02:24:33

Date: Mon, 13 Apr 1998 09:24:06 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jason <dygron AT ace-net DOT com DOT au>
cc: djgpp AT delorie DOT com
Subject: Re: CPP linker problems!
In-Reply-To: <01bd667e$14cf8a20$97a325cb@jring>
Message-ID: <Pine.SUN.3.91.980413091824.5997J-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019