[ace-users] Symbol not found after upgrading ace version 6.4.3.
Steve Huston
shuston at riverace.com
Tue Nov 28 09:20:33 CST 2017
Our AIX 6 build is not seeing this problem (using XL C/C++ 10.1)
Our AIX 7 build isn’t either (XL C++ 13.1.0.2)
What config files are you using?
-Steve
From: ace-users [mailto:ace-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Ashutosh Kumar
Sent: Monday, November 27, 2017 11:57 PM
To: ace-users at list.isis.vanderbilt.edu
Subject: [ace-users] Symbol not found after upgrading ace version 6.4.3.
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/145db415/attachment.html>
More information about the ace-users
mailing list