[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Undefined symbol when loading g++ created library
From: |
Adam Nielsen |
Subject: |
Re: Undefined symbol when loading g++ created library |
Date: |
Sun, 27 Nov 2005 15:12:31 +1000 |
> 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.
- Undefined symbol when loading g++ created library, Adam Nielsen, 2005/11/26
- Re: Undefined symbol when loading g++ created library, Paul Pluzhnikov, 2005/11/26
- Re: Undefined symbol when loading g++ created library,
Adam Nielsen <=
- Re: Undefined symbol when loading g++ created library, Paul Pluzhnikov, 2005/11/27
- Re: Undefined symbol when loading g++ created library, Robert Heller, 2005/11/27
- Re: Undefined symbol when loading g++ created library, Adam Nielsen, 2005/11/27
- Re: SOLVED - Undefined symbol when loading g++ created library, Adam Nielsen, 2005/11/27
- Re: SOLVED - Undefined symbol when loading g++ created library, Paul Pluzhnikov, 2005/11/27
- Re: SOLVED - Undefined symbol when loading g++ created library, Adam Nielsen, 2005/11/27
- Re: Undefined symbol when loading g++ created library, Paul Pluzhnikov, 2005/11/27
- Re: Undefined symbol when loading g++ created library, Adam Nielsen, 2005/11/27
- Re: Undefined symbol when loading g++ created library, Adam Nielsen, 2005/11/27
- Re: Undefined symbol when loading g++ created library, Paul Pluzhnikov, 2005/11/27