Author |
Message
|
Chris Thornton |
Posted: Mon Apr 28, 2003 11:36 am Post subject: Compiling MQ C programs on 64-bit AIX |
|
|
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 |
|
 |
RogerLacroix |
Posted: Mon Apr 28, 2003 9:01 pm Post subject: |
|
|
 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 |
|
 |
clindsey |
Posted: Tue Apr 29, 2003 7:00 am Post subject: |
|
|
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 |
|
 |
Chris Thornton |
Posted: Mon May 05, 2003 4:41 am Post subject: |
|
|
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 |
|
 |
muralihegde |
Posted: Tue Aug 03, 2004 10:47 pm Post subject: |
|
|
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 |
|
 |
EddieA |
Posted: Wed Aug 04, 2004 12:03 am Post subject: |
|
|
 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 |
|
 |
PeterPotkay |
Posted: Wed Aug 04, 2004 7:14 am Post subject: |
|
|
 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 |
|
 |
|