In Antwort auf:
Are you using ld, gcc or g++ as the linker command? You get extra magic if you link using g++.


I'm using gcc to compile the C sources and g++ to compile the C++ sources and to link.

In Antwort auf:
Otherwise I'd suggest that you've failed to implement a method somewhere -- GCC "keys" generation of the vtable to one of the methods (to avoid having to compile it multiple times) and, if it happens to have picked one you haven't implemented, linking will fail.


It was indeed a missing (but not yet used) method. gcc handles the vtable like cfront, but i thought it always picks the first method, which is in my case always the c'tor?