This discussion is archived
3 Replies Latest reply: Feb 28, 2012 8:47 AM by Steve_Clamage RSS

runtime definition of the symbol was not found

user12559680 Newbie
Currently Being Moderated
Getting following error while starting application

rtld: 0712-001 Symbol instance__13ACE_SingletonXT28ACE_Based_Pointer_RepositoryT19ACE_RW_Thread_Mutex_Fv was referenced
from module /scratch/pin7785/opt/ifw/lib/libace64.a(), but a runtime definition
of the symbol was not found.
rtld: 0712-002 fatal error: exiting.

I have built the ace 6.0 source code in AIX 6.1,
Also can see from the cmd "nm -X64 libace64.a" shows the symbol ACE_Singleton<ACE_Based_Pointer_Repository,ACE_RW_Thread_Mutex>::instance() is Undefined.

Do I need build the code with any additional C++ flags etc..
Here somehow its not able to get the ACE_Singleton::instance() definition

Singleton.cpp
template <class TYPE, class ACE_LOCK> TYPE *
ACE_Singleton<TYPE, ACE_LOCK>::instance (void)
{
}

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points