cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/10/01:34:07

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: I don't Understand this Error
Date: Sun, 09 Mar 1997 13:30:27 -0800
Organization: Alcyone Systems
Message-ID: <33232BF3.57E0B4EF@alcyone.com>
References: <5ft5sj$qh AT alpha DOT hcst DOT com>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
Lines: 25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Bryan Murphy wrote:

> Now, when I compile, everything compiles fine, but the link process
> gives me an error.  I have no idea what it means:
> file.cc/h: undefined reference to
> 'OBJECT::operator == (const OBJECT &obj)'
> 
> and
> 
> file.cc/h: undefined reference to 'OBJECT virtual table'

It's saying that 1. it couldn't find a definition for OBJECT::operator ==,
and 2. it couldn't find the definition for OBJECT, where the virtual table
gets worked out.

Without further information it's hard to say more, but it doesn't sound
like you're handling templates right.

-- 
       Erik Max Francis, &tSftDotIotE / email:  max AT alcyone DOT com
                     Alcyone Systems /    web:  http://www.alcyone.com/max/
San Jose, California, United States /    icbm:  37 20 07 N  121 53 38 W
                                   \
              "I am become death, / destroyer of worlds."
                                 / J. Robert Oppenheimer (quoting legend)

- Raw text -


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