The C part of my project compiles without a problem but now i've added the cpp files to my project and i get some undefined references for the classes with virtual methods.

For the constructor and destructor i get the linker error
undefined reference to '.... virtual table'

And for the derived classes i get the linker error
undefined reference to '... type_info function' and
undefined reference to '... type_info node'

Any idea?