Index:
[thread]
[date]
[subject]
[author]
From: Tim Bain <tpb2@duke.edu>
To :
Date: Sat, 13 Feb 1999 01:21:07 -0500
Re: Annoying Error Message
On Fri, 12 Feb 1999, Michael Abernethy wrote:
> Date: Fri, 12 FEB 1999 22:18:36 -0500
> From: Michael Abernethy <mna@duke.edu>
> Newgroups: duke.cs.cps108
> Subject: Annoying Error Message
>
>
> 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
Index:
[thread]
[date]
[subject]
[author]