venegas2001
Programmer
Hi i'm trying to compile some simple MQSeries code and i get undefined symbols when linking.
I'm using
Sun CC 5.1
MQSeries 5.2
with the following build line which i'm pretty sure contains all the required libraries (according to ibm) :
CC -D_SOLARIS -mt -library=iostream -o mqdyn dynmq.cpp -lC -limqb23ss -limqs23ss -lmqm -lmqmcs -ldl -lnsl -lmqmzse -lsocket
i get the numerous undefined symbols at the link stage :
unsigned char ImqMsg::formatIs(const char*)const
unsigned char ImqObj::setOpenOptions(const long)
ImqMgr::ImqMgr()
ImqMsg::ImqMsg()
unsigned char ImqObj::setName(const char*)
ImqStr ImqObj::name()
unsigned char ImqQue::get(ImqMsg&)
ImqStr::~ImqStr()
ImqQue::ImqQue()
unsigned char ImqCac::useFullBuffer(const char*,const unsigned)
unsigned ImqCac::dataLength()const
void ImqObj::setConnectionReference(ImqMgr*)
void ImqMsg::setFormat(const char*)
unsigned char ImqMgr::connect()
ImqMgr::~ImqMgr()
ImqMsg::~ImqMsg()
unsigned char ImqQue:ut(ImqMsg&)
ImqQue::~ImqQue()
ld: fatal: Symbol referencing errors.
Is there somthing i'm doing wrong ???
thanks in advance - Nic
I'm using
Sun CC 5.1
MQSeries 5.2
with the following build line which i'm pretty sure contains all the required libraries (according to ibm) :
CC -D_SOLARIS -mt -library=iostream -o mqdyn dynmq.cpp -lC -limqb23ss -limqs23ss -lmqm -lmqmcs -ldl -lnsl -lmqmzse -lsocket
i get the numerous undefined symbols at the link stage :
unsigned char ImqMsg::formatIs(const char*)const
unsigned char ImqObj::setOpenOptions(const long)
ImqMgr::ImqMgr()
ImqMsg::ImqMsg()
unsigned char ImqObj::setName(const char*)
ImqStr ImqObj::name()
unsigned char ImqQue::get(ImqMsg&)
ImqStr::~ImqStr()
ImqQue::ImqQue()
unsigned char ImqCac::useFullBuffer(const char*,const unsigned)
unsigned ImqCac::dataLength()const
void ImqObj::setConnectionReference(ImqMgr*)
void ImqMsg::setFormat(const char*)
unsigned char ImqMgr::connect()
ImqMgr::~ImqMgr()
ImqMsg::~ImqMsg()
unsigned char ImqQue:ut(ImqMsg&)
ImqQue::~ImqQue()
ld: fatal: Symbol referencing errors.
Is there somthing i'm doing wrong ???
thanks in advance - Nic