This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
importing symbols
- To: binutils at sources dot redhat dot com
- Subject: importing symbols
- From: Daniel Lundqvist <daniel at malarhojden dot nu>
- Date: Sat, 23 Sep 2000 17:04:49 +0200
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