Operating System - HP-UX
1748002 Members
4245 Online
108757 Solutions
New Discussion юеВ

Re: compilation of xerces with -AA flag results in unresolved symbol __PureVirtualCalled

 
SOLVED
Go to solution
Rajesh_60
Occasional Advisor

compilation of xerces with -AA flag results in unresolved symbol __PureVirtualCalled

Hello,

I had changed the CXXFLAGS of xerces to inlcude "-AA" and compiled the library succesfully.
But the output of "ldd libxerces-c.sl" shows unresolved symbols as follows
/usr/lib/dld.sl: Unresolved symbol: symbol not found: __PureVirtualCalled (libxerces-c.sl)
/usr/lib/dld.sl: Unresolved symbol: symbol not found: __dl__FPv (libxerc
es-c.sl)
/usr/lib/dld.sl: Unresolved symbol: symbol not found: __thread_mutex_unlock
(/usr/lib/libnsl.1)
/usr/lib/dld.sl: Unresolved symbol: symbol not found: free (/usr/lib/libnsl
.1)
/usr/lib/dld.sl: Unresolved symbol: symbol not found: abort (/usr/lib/libnsl
.1)
/usr/lib/dld.sl: Unresolved symbol: symbol not found: __errno (/usr/li
b/libpthread.1)
2 REPLIES 2
Ermin Borovac
Honored Contributor
Solution

Re: compilation of xerces with -AA flag results in unresolved symbol __PureVirtualCalled

AFAIK unresolved symbols on a shared library shouldn't be a problem, as long as executable that links libxerces.sl, also links libraries that contain missing symbols. When you compile with -AA you will need to link with /usr/lib/libstd_v2.sl and /usr/lib/libCsup_v2.sl (first two missing symbols are in these two libraries).
Rajesh_60
Occasional Advisor

Re: compilation of xerces with -AA flag results in unresolved symbol __PureVirtualCalled

Hello Ermin

Thanks for the reply. When an executable is linked with xerces.sl , it works fine, hence as said by you, these unresolved symbols might not be of concern.