Author |
Message
|
puvvada |
Posted: Tue Apr 02, 2002 11:30 am Post subject: |
|
|
Apprentice
Joined: 01 Apr 2002 Posts: 27
|
Hi,
I am using 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::open()
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.
Are there any other 64-bit server libraries available.
If anyone tried to compile a 64-bit app before, please share your experiences with me.
Thanks |
|
Back to top |
|
 |
kolban |
Posted: Tue Apr 02, 2002 8:58 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
You have brought up a good question and my question is probably going to sound dumb ... but I'd like to start a discussion on this.
Why is it good to have 64 bit libraries for MQSeries? What is it that one expects to be able to do with 64 bit libraries than with 32 bit libraries?
What are the pros and cons? Speed? Memory size? |
|
Back to top |
|
 |
puvvada |
Posted: Wed Apr 03, 2002 7:44 am Post subject: |
|
|
Apprentice
Joined: 01 Apr 2002 Posts: 27
|
Hi,
We have an application which connects to 64-bit Database and in the same we use MQSeries, so I need 64-bit libraries. Hope that answeres, atleast why it is needed. |
|
Back to top |
|
 |
brian_homewood |
Posted: Wed Apr 10, 2002 1:48 am Post subject: |
|
|
Newbie
Joined: 09 Apr 2002 Posts: 4
|
Try compiling like this:
xlC -q64 -qwarn64 -o imqsputc imqsput.cpp -qchars=signed -limqc23ia -limqb23ia -lmqic -L/usr/mqm/lib64 -I/usr/mqm/inc
xlC_r -q64 -qwarn64 -o imqsputc_r imqsput.cpp -qchars=signed -limqc23ia_r -limqb23ia_r -lmqic_r -L/usr/mqm/lib64 -I/usr/mqm/inc |
|
Back to top |
|
 |
zpat |
Posted: Wed Apr 10, 2002 1:53 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
There is a good article on MQSeries and 64-bit applications (by an IBM'er) in the April 2002 issue of MQ Update. http://www.xephon.com/mq
Sorry it's not free but it is worth subscribing to this journal. |
|
Back to top |
|
 |
brian_homewood |
Posted: Wed Apr 10, 2002 4:40 am Post subject: |
|
|
Newbie
Joined: 09 Apr 2002 Posts: 4
|
Note your problem was that you were pulling in the 32-bit C++ MQSeries library |
|
Back to top |
|
 |
|