Unresolved symbol using STLport on HPUX 11
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Unresolved symbol using STLport on HPUX 11




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Unresolved symbol using STLport on HPUX 11  
Torsten Mueller


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-18-06 12:51 PM

For several reasons I have to use STLport on a HPUX 11 (PA_RISC). I
downloaded Version 4.6.2 and compiled it using the hpacc-Makefile
without any errors. The resulting libs are now in /usr/local/lib and
the headers in /usr/local/include/stlport.

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: [Vtable]key:__dt__Q2_3std9exceptionF
v (data)  from /usr/local/lib/libstlport_aCC.sl
/usr/lib/dld.sl: Unresolved symbol: typeid__XTQ2_3std9exception_ (data)  fro
m /usr/local/lib/libstlport_aCC.sl
ABORT instruction (core dumped)

What does this mean exactly? I guess my shared lib assumes another lib
containing these symbols but I do not have one. But which one?

T.M.





[ Post a follow-up to this message ]



    Re: Unresolved symbol using STLport on HPUX 11  
Paul Pluzhnikov


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-19-06 07: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: [Vtable]key:__dt__Q2_3std9exceptio
nFv (data)  from /usr/local/lib/libstlport_aCC.sl
> /usr/lib/dld.sl: Unresolved symbol: typeid__XTQ2_3std9exception_ (data)  f
rom /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.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:14 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register