ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » 64-bit Compilation

Post new topic  Reply to topic
 64-bit Compilation « View previous topic :: View next topic » 
Author Message
puvvada
PostPosted: Tue Apr 02, 2002 11:30 am    Post subject: Reply with quote

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
View user's profile Send private message
kolban
PostPosted: Tue Apr 02, 2002 8:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
puvvada
PostPosted: Wed Apr 03, 2002 7:44 am    Post subject: Reply with quote

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
View user's profile Send private message
brian_homewood
PostPosted: Wed Apr 10, 2002 1:48 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Wed Apr 10, 2002 1:53 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
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
View user's profile Send private message
brian_homewood
PostPosted: Wed Apr 10, 2002 4:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » 64-bit Compilation
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.