000023485 - Building RKM 1.5 C++ Client samples on AIX gives error about undefined symbols

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000023485
Applies ToRSA Key Manager Client 1.5.x
AIX 5.2, AIX 5.3
IssueBuild the RKM 1.5 C++ Client samples on AIX

You will see the following link errors when building the C++ samples if you use Visual Age 8 compiler

 ERROR: Undefined symbol: .KMClient::KMClient()
 ERROR: Undefined symbol: .KMClient::Initialize(const char*,const char*)
 ERROR: Undefined symbol: .KMClient::EncryptData(const char*,const unsigned char*,unsigned int,unsigned char*,unsigned int,unsigned int*,int)
 ERROR: Undefined symbol: .KMClient::DecryptData(const char*,const unsigned char*,unsigned int,unsigned char*,unsigned int,unsigned int*)
 ERROR: Undefined symbol: .KMClient::Shutdown()
 ERROR: Undefined symbol: .KMClient::~KMClient()

CauseRKM 1.5.2 Client for AIX requires the Visual Age 6 compiler.
ResolutionInstall the Visual Age 6 compiler.
NotesUse this command to determine the version of Visual Age:

> lslpp -l | grep xlC
  xlC.adt.include            6.0.0.0  COMMITTED  C Set ++ Application
  xlC.aix50.rte              6.0.0.0  COMMITTED  C Set ++ Runtime for AIX 5.0
  xlC.cpp                    5.0.2.0  COMMITTED  C for AIX Preprocessor
  xlC.msg.en_US.cpp          5.0.2.0  COMMITTED  C for AIX Preprocessor
  xlC.msg.en_US.rte          6.0.0.0  COMMITTED  C Set ++ Runtime
  xlC.rte                    6.0.0.0  COMMITTED  C Set ++ Runtime

Legacy Article IDa34166

Attachments

    Outcomes