Index: [thread] [date] [subject] [author]
  From: Michael Abernethy <mna@duke.edu>
  To  : 
  Date: Sat, 13 Feb 1999 11:55:13 -0500

Re: Annoying Error Message

  Tim,
Thanks, your guesses cleared things up.  I had forgot to include my new 
file html_writer.cc in my Makefile.



> > 
> >  Our hyperwag is seemingly 1 error message from being finished, but it 
> > keeps popping up and I can't for the life of me figure out what the error 
> > message is saying.
> >  I've seen the error message before, when I misspelled something, but 
> > I've scoured the spelling of every word in the file, and it's all good.
> >  If anyone has any other suggestions as to what may cause an error like 
> > this, it would be greatly appreciated.  
> > 
> > Undefined                       first referenced
> >  symbol                             in file
> > __11HTML_WriterGt12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_t
> > emplate2b0i0 hyperwag.o
> > makeTable__11HTML_WriterGt3map4ZiZt6vector2Z5EventZt24__default_alloc_template2b
> > 0i0Zt4less1ZiZt24__default_alloc_template2b0i0 hyperwag.o
> > ld: fatal: Symbol referencing errors. No output written to hyperwag 
> 
> Michael,
> 
> What this error means is basically that the compiler
> has the declaration for a function, but not the body.
> A couple of things can cause this:
> 
> 1.  If you include a declaration in a .h file like:
> 
> void Function();
> 
> but never compiled and linked in the .cc file that
> contains the body of Function, or if you never even
> wrote the body for Function.
> 
> 2.  If you include a declaration in a .h file like:
> 
> void Function() const;
> 
> but misspelled the function name in the .cc file, or
> forgot the const, or something.
> 
> I'm sure there are more causes that I haven't run into,
> but one of those two would be my guess...
> 
> Tim
> 
> 

Mike Abernethy
www.duke.edu/~mna
IBM Club Cyberblue - www.cybrblu.ibm.com



Index: [thread] [date] [subject] [author]