| Paul Pluzhnikov 2006-01-19, 2:57 am |
| Torsten Mueller <dev-null@shared-files.de> writes:
> Now I want to use this lib in a program. I took the sources and the
> makefile from another HPUX machine. It compiled and linked very well
> but when I start my program it says:
>
> /usr/lib/dld.sl: Unresolved symbol: & #91;Vtable]key:__dt__Q2_3std9exceptionFv
(data) from /usr/local/lib/libstlport_aCC.sl
> /usr/lib/dld.sl: Unresolved symbol: typeid__XTQ2_3std9exception_ (data) from /usr/local/lib/libstlport_aCC.sl
> ABORT instruction (core dumped)
>
> What does this mean exactly?
It means that libstlport_aCC.sl depends on external symbols:
std::exception::~exception()
typeid<std::exception>
> I guess my shared lib assumes another lib
> containing these symbols but I do not have one. But which one?
These come from /usr/lib/libCsup_v2.sl on my system.
That library should be automatically linked into your program,
provided you link with:
aCC -AA main.o ... -lstlport_aCC
I am guessing that you compiled libstlport_aCC.sl with the -AA flag,
but linking your main executable without -AA. You can't do that:
from "man aCC":
NOTE: Objects and libraries compiled with -AA are binary
incompatible with objects and libraries compiled without -AA.
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
|