Re: compilation of xerces with -AA flag results in unresolved symbol __PureVirtualCalled (219 Views)
Reply
Occasional Advisor
Rajesh_60
Posts: 8
Registered: ‎11-21-2004
Message 1 of 3 (219 Views)
Accepted Solution

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)
Honored Contributor
Ermin Borovac
Posts: 905
Registered: ‎09-18-2002
Message 2 of 3 (219 Views)

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).
Occasional Advisor
Rajesh_60
Posts: 8
Registered: ‎11-21-2004
Message 3 of 3 (219 Views)

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.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.