Hi, I am trying to run a class which was originally produced by MakeSelector() in a standalone program. The program looks like this: #include "selector.h" int main(int argc, char **argv) { selector *sel = new selector(); } The selector.C and .h file are like they have been produced by MakeSelector() without any changes. When I am trying to compile with: gcc `root-config --cflags --libs` program.C it produces the following error: /tmp/ccThcUXm.o(.gnu.linkonce.t._ZN8selectorC1EP5TTree+0x19): In function `selector::selector[in-charge](TTree*)': : undefined reference to `vtable for selector' collect2: ld returned 1 exit status Does anyone know what this message means? I am using RooT 3.10-01 on RH9. Thanks, Frank
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET