Index: [thread] [date] [subject] [author]
  From: Robert C. Duvall <rcd@cs.duke.edu>
  To  : 
  Date: 01 Feb 1999 23:38:41 -0500

Re: errors

> I have been trying for hours to figure out this error message...any ideas?
> 
> Undefined                       first referenced
>  symbol                             in file
> GetValue__t9Evaluator1Zi            main.o
> ld: fatal: Symbol referencing errors. No output written to evaluator
> *** Error code 1
> make: Fatal error: Command failed for target `evaluator'

A possibility here is that your GetValue function is defined in a
private .cc file.  In order for templated code to compile, it must all
be available in the .h file (so the compiler can generate it as it
needs to).

In this case, if you defined the function separately, in your .cc
file, then no code will be generated for that method.

A standard technique for fixing this problem is to include all the
code within your .h file (as in the exptree_aux.h file) or to #include
your .cc file at the bottom of your .h file.

rcd


-- 
Robert C. Duvall
Lecturer, Duke University
rcd@cs.duke.edu


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