[ace-users] Symbol not found after upgrading ace version 6.4.3.

Ashutosh Kumar ashutosh.z.kumar at oracle.com
Mon Nov 27 22:56:57 CST 2017


Hi,

To resolve the issue of undefined symbols for 
(ACE_Singleton::instance(), ACE_Singleton::instance_i(), 
ACE_Singleton::singleton_) I did explicit instantiation, i.e by adding 
the following lines into the file Based_Pointer_Repository.cpp,

template ACE_Based_Pointer_Repository * 
ACE_Singleton<ACE_Based_Pointer_Repository,ACE_RW_Thread_Mutex>::instance 
(void);
template ACE_Singleton<ACE_Based_Pointer_Repository, 
ACE_RW_Thread_Mutex> *& 
ACE_Singleton<ACE_Based_Pointer_Repository,ACE_RW_Thread_Mutex>::instance_i 
(void);
template ACE_Singleton<ACE_Based_Pointer_Repository, 
ACE_RW_Thread_Mutex> * ACE_Singleton 
<ACE_Based_Pointer_Repository,ACE_RW_Thread_Mutex>:: singleton_=0 ;

Presently, getting the following error while starting the application. I 
have built ACE version 6.4.3 on AIX 6.1  machine. Could you please help 
to resolve this issue. Also, please suggest if any compiler option 
available for this.

rtld: 0712-001 Symbol 
__ct__13ACE_SingletonXT28ACE_Based_Pointer_RepositoryT19ACE_RW_Thread_Mutex_Fv 
was referenced
       from module /scratch/pin3050/opt/ifw/lib/libace64.a(), but a 
runtime definition
       of the symbol was not found.

_Sustem information:_
oslevel
6.1.0.0
_
Compiler version_
/usr/vacpp/bin/xlCcore_r -qversion
IBM XL C/C++ for AIX, V11.1 (5724-X13)
Version: 11.01.0000.0003

Thanks and Regards,
Ashutosh

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20171128/b95a3c12/attachment.html>


More information about the ace-users mailing list