> It doesn't. It tells you that some symbol is undefined, but it is not
> the 'RootClass', because there should not be such a symbol in Main in
> the first place. Please post the exact error message you get from
> dlerror(3).

Well at any rate it's the mangled version of RootClass:

  plugin.so: undefined symbol: _ZN8RootClassC2Ev

> Yes, that's exactly what '-rdynamic' is for. However, you need
> '-rdynamic' when you link Main, *not* when you link the Plugin.

Yes, I used it on Main but not Plugin.  I tried it with Plugin as well
but as I expected there's no difference.

> If that's what you did, please try to construct a trivial compilable
> example, and provide *exact* compile and link lines and gcc and OS
> versions.

If this is unexpected behaviour I'll see if I can do that.

Thanks,
Adam.
_______________________________________________
Help-gplusplus mailing list
Help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to