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 » Compiling MQ C programs on 64-bit AIX

Post new topic  Reply to topic
 Compiling MQ C programs on 64-bit AIX « View previous topic :: View next topic » 
Author Message
Chris Thornton
PostPosted: Mon Apr 28, 2003 11:36 am    Post subject: Compiling MQ C programs on 64-bit AIX Reply with quote

Newbie

Joined: 06 Jan 2003
Posts: 2
Location: Rochester, NY

Hi All,
We're moving our compiled C programs to 64-bit Unix. Everything is working ok, except for our MQ programs. We're getting Undefined Symbol errors from the linker, just as we would if we had left off the -lmqm directive.

Code:
ld: 0711-317 ERROR: Undefined symbol: .MQBACK
ld: 0711-317 ERROR: Undefined symbol: .MQCMIT
ld: 0711-317 ERROR: Undefined symbol: .MQCLOSE
ld: 0711-317 ERROR: Undefined symbol: .MQDISC
ld: 0711-317 ERROR: Undefined symbol: .MQGET
ld: 0711-317 ERROR: Undefined symbol: .MQPUT
ld: 0711-317 ERROR: Undefined symbol: .MQINQ
ld: 0711-317 ERROR: Undefined symbol: .MQCONN
ld: 0711-317 ERROR: Undefined symbol: .MQOPEN


I'm thinking that there must be a 64-bit variant of libmqm.a But I don't find any references to it.
Or am I barking up the wrong tree? Can I even do this? Or do I need to install the 64-bit version of the MQ server? As far as I know, we're still running the 32-bit version. Is there even a 64-bit version?
Hmm..
Any ideas?
Chris
_________________
(Signature available upon request)
Back to top
View user's profile Send private message Visit poster's website
RogerLacroix
PostPosted: Mon Apr 28, 2003 9:01 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

As far as I remember, you can only compile / link 64-bit MQ programs under MQ Client environment. IBM / MQSeries does not support compiling / linking 64-bit MQ programs under MQ Server envirnoment.

later
Roger...
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
clindsey
PostPosted: Tue Apr 29, 2003 7:00 am    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

Roger is correct about this and you must download the 64 bit client from the supportpac url.

Charlie
Back to top
View user's profile Send private message
Chris Thornton
PostPosted: Mon May 05, 2003 4:41 am    Post subject: Reply with quote

Newbie

Joined: 06 Jan 2003
Posts: 2
Location: Rochester, NY

Thanks Guys, this saves me a lot of investigation.
_________________
(Signature available upon request)
Back to top
View user's profile Send private message Visit poster's website
muralihegde
PostPosted: Tue Aug 03, 2004 10:47 pm    Post subject: Reply with quote

Centurion

Joined: 30 Apr 2002
Posts: 108

Hi All,
We are facing the same problem. We have AIX 5.2 and MQ 5.3.
Informix 9.4 and 4GL version is 7.32.fc2

we are using visualage c compiler..
When we try to compile a c program with MQ series call, if we specify the compiler option -q64, we get the following error,

ld: 0711-317 ERROR: Undefined symbol: .MQCONN
ld: 0711-317 ERROR: Undefined symbol: .MQOPEN
ld: 0711-317 ERROR: Undefined symbol: .MQPUT
ld: 0711-317 ERROR: Undefined symbol: .MQCLOSE
ld: 0711-317 ERROR: Undefined symbol: .MQDISC

Is there no 64 bit support for mq series libraries in the mq server environment yet on AIX?
I belive the informix app needs to run under 64 bit mode. Is there any work around, to mix 64 and 32 bit mode for the libraries?

thanking you..

-Murali
Back to top
View user's profile Send private message Yahoo Messenger
EddieA
PostPosted: Wed Aug 04, 2004 12:03 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
you can only compile / link 64-bit MQ programs under MQ Client environment

Quote:
you must download the 64 bit client from the supportpac url

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Aug 04, 2004 7:14 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Why oh why are these support packs written based on 5.2 Client, especially since they were released after 5.2 support was dropped?

I have an HP-UX server running a queue manager at 5.3 CSD07 at 32bit. The app needs to run at 64bit. They are OK running as an MQClient even though thet are local to the QM. The server will allow both 32bit and 64bit apps to run. But MQ will not allow 5.3 (the QM) to run on the same machine as 5.2 (the client if I compile it with the MACZ libs).

Why in the world would the support pack, released after 5.2 was no longer
supported, be based on 5.2?

Any rumors as to when the server version of MQ for UNIX will allow 64bit? Or if these support packs will be rereleased based on 5.3?

Short of uninstalling 5.3 MQ server and reinstalling 5.2 client only, which
isn't officially supported, and having the QM installed on a separate server
(more $$$), am I S.O.L?
_________________
Peter Potkay
Keep Calm and MQ On
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 » Compiling MQ C programs on 64-bit AIX
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.