This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

importing symbols


Hi,

I building an application which will have all the C++ classes in shared
libraries,and the application does not know which classes there is so uses
dlopen to load the libraries. But I stumbled upon a problem,there is a problem
loading a class which is inherited from a class which alson is also
dlopen()'ed. I get the following error when trying to load the Human class:
./libhuman.so: Undefined symbol "__6Object",which I suppose comes from that
it cannot find the constructor for Object.

[app]
  |
[Object]--[Human]

So my question is: Is there a way to add the global symbols of the first
library to the symbol list of the app so that the second class can find them?

Thanks in advand,
Daniel Lundqvist
-- 
Contact:
email: daniel@malarhojden.nu | UIN: 635335

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]