<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi,<br>
<br>
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,<br>
<br>
template ACE_Based_Pointer_Repository *
ACE_Singleton<ACE_Based_Pointer_Repository,ACE_RW_Thread_Mutex>::instance
(void);<br>
template ACE_Singleton<ACE_Based_Pointer_Repository,
ACE_RW_Thread_Mutex> *&
ACE_Singleton<ACE_Based_Pointer_Repository,ACE_RW_Thread_Mutex>::instance_i
(void);<br>
template ACE_Singleton<ACE_Based_Pointer_Repository,
ACE_RW_Thread_Mutex> * ACE_Singleton
<ACE_Based_Pointer_Repository,ACE_RW_Thread_Mutex>::
singleton_=0 ;<br>
<br>
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.<br>
<br>
rtld: 0712-001 Symbol
__ct__13ACE_SingletonXT28ACE_Based_Pointer_RepositoryT19ACE_RW_Thread_Mutex_Fv
was referenced<br>
from module /scratch/pin3050/opt/ifw/lib/libace64.a(), but a
runtime definition<br>
of the symbol was not found.<br>
<br>
<u>Sustem information:</u><br>
oslevel<br>
6.1.0.0<br>
<u><br>
Compiler version</u><br>
/usr/vacpp/bin/xlCcore_r -qversion<br>
IBM XL C/C++ for AIX, V11.1 (5724-X13)<br>
Version: 11.01.0000.0003<br>
<br>
Thanks and Regards,<br>
Ashutosh</p>
</body>
</html>