Hi,
MQ Series Ver 5.2, AIX 4.3
I am trying to compile a 64-bit MQ App. I downloaded a support pack provided by IBM for 64-bit MQ clients. But my application runs on the MQ server itself. I tried to compile the sample C++ application imqsget.cpp by linking the 64-bit libraries. But I get the following errors.
/usr/ibmcxx/bin/xlC -q64 imqsget.o /usr/lpp/xlC/lib/libC.a /usr/mqm/lib64/libimqb23ia.a /usr/mqm/lib64/libmqic.a /usr/mqm/lib64/libmqicb.a /usr/mqm/lib64/libmqmcsc.a /usr/mqm/lib/libimqs23ia.a -o imqsget
ld: 0711-317 ERROR: Undefined symbol: ImqMgr::virtual-fn-table-ptr-table
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::ImqMgr()
ld: 0711-317 ERROR: Undefined symbol: ImqQue::virtual-fn-table-ptr-table
ld: 0711-317 ERROR: Undefined symbol: .ImqQue::ImqQue()
ld: 0711-317 ERROR: Undefined symbol: .ImqObj::setName(const char*)
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::setChannelReference(ImqChl*)
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::connect()
ld: 0711-317 ERROR: Undefined symbol: .ImqObj::setOpenOptions(const int)
ld: 0711-317 ERROR: Undefined symbol: .ImqObj:pen()
ld: 0711-317 ERROR: Undefined symbol: .ImqQue::get(ImqMsg&,ImqGmo3&)
ld: 0711-317 ERROR: Undefined symbol: .ImqObj::close()
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::disconnect()
ld: 0711-317 ERROR: Undefined symbol: .ImqQue::~ImqQue()
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::~ImqMgr()
ld: 0711-317 ERROR: Undefined symbol: .ImqObj::setConnectionReference(ImqMgr*)
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.
If anyone tried to compile a 64-bit app before, please share your experiences with me.
Thanks
MQ Series Ver 5.2, AIX 4.3
I am trying to compile a 64-bit MQ App. I downloaded a support pack provided by IBM for 64-bit MQ clients. But my application runs on the MQ server itself. I tried to compile the sample C++ application imqsget.cpp by linking the 64-bit libraries. But I get the following errors.
/usr/ibmcxx/bin/xlC -q64 imqsget.o /usr/lpp/xlC/lib/libC.a /usr/mqm/lib64/libimqb23ia.a /usr/mqm/lib64/libmqic.a /usr/mqm/lib64/libmqicb.a /usr/mqm/lib64/libmqmcsc.a /usr/mqm/lib/libimqs23ia.a -o imqsget
ld: 0711-317 ERROR: Undefined symbol: ImqMgr::virtual-fn-table-ptr-table
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::ImqMgr()
ld: 0711-317 ERROR: Undefined symbol: ImqQue::virtual-fn-table-ptr-table
ld: 0711-317 ERROR: Undefined symbol: .ImqQue::ImqQue()
ld: 0711-317 ERROR: Undefined symbol: .ImqObj::setName(const char*)
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::setChannelReference(ImqChl*)
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::connect()
ld: 0711-317 ERROR: Undefined symbol: .ImqObj::setOpenOptions(const int)
ld: 0711-317 ERROR: Undefined symbol: .ImqObj:pen()
ld: 0711-317 ERROR: Undefined symbol: .ImqQue::get(ImqMsg&,ImqGmo3&)
ld: 0711-317 ERROR: Undefined symbol: .ImqObj::close()
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::disconnect()
ld: 0711-317 ERROR: Undefined symbol: .ImqQue::~ImqQue()
ld: 0711-317 ERROR: Undefined symbol: .ImqMgr::~ImqMgr()
ld: 0711-317 ERROR: Undefined symbol: .ImqObj::setConnectionReference(ImqMgr*)
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.
If anyone tried to compile a 64-bit app before, please share your experiences with me.
Thanks