I created a small test program to try to identify a problem encountered in a larger one when either is run on an AIX platform (the larger program run successfully on a linux and Solaris platforms). The problem has been pinpointed to lines containing a push_back( ) and a clear( ) of a vector (I had commented out the push_back( ) and clear( ) in one run and got the cout messages).
This results in the following error when I try to run it through a test driver:
exec(): 0509-036 Cannot load program ADFG because of the following errors:
rtld: 0712-001 Symbol _GetRawPtr__3stdHllPlRlPlR
PlTRl__Pl was referenced
from module /irb/dev3/rbatsche/RB-rbat
(), but a
of the symbol was not found.
rtld: 0712-002 fatal error: exiting
I hope someone can pinpoint what the problem is and better yet, what the solution is.
std::cout << "In testLongVector()." << std::endl;
long inNumber = 100L;
for ( int i = 0; i <= 10; ++i )
std::cout << "Adding number " << inNumber << " to the vector." << std::endl;
longVector.push_back( inNumber );
inNumber += 100;
for ( int j = 0; j <= 10; ++j )
std::cout << "Retrieving number " << longVector[j] << " from the vector." << std::endl;