Author |
Message
|
Slave2MQ |
Posted: Tue Nov 23, 2010 10:56 am Post subject: MS03 SAVEQMGR Make problems |
|
|
Newbie
Joined: 18 Nov 2010 Posts: 1
|
I'm attempting to create the 32 bit SAVEQMGR for AIX but I'm getting an error in the args.c that produces this message:
make -f /tmp/ms03/makefile.aix32
xlc -c -DUNIX -o args.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc args.c
"args.c", line 1205.25: 1506-046 (S) Syntax error.
"args.c", line 1205.27: 1506-045 (S) Undeclared identifier output.
make: 1254-004 The error code from the last command is 1.
Stop.
Could anyone supply some insight to this issue, or direct me to an older release of SAVEQMGR which supports 32-bit MQV5.3 ?
Thanks! |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Nov 23, 2010 11:08 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
This is a bug somehow in ms03. It's complaining about the contents of the args.c file, which is apparently missing a declaration that is ignored on other versions of the aix compiler.
It might, possibly, be a bug in the aix32 makefile.
Did you contact me already by email about this? It looks similar to an issue someone reported to me.
If it is you, sorry I've not gotten you a build sooner. I've been having odd issues getting files moved to the aix test system I am trying to use... I'll see if I can beat them into a pulp this afternoon and get back to you. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Nov 23, 2010 12:04 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Okay.
I just retested this. I have reasonably determined that the bugs I was having in copying files to the test AIX system were because I was being a bonehead and doing a manual FTP *without* setting BINARY mode first... and thus making a hash of my tar.Z file in transfer.
When I did set binary, I was able to run
Code: |
aix:/ms03 164% make -f makefile.aix32
xlc -c -DUNIX -o saveqmgr.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc saveqmgr.c
xlc -c -DUNIX -o args.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc args.c
xlc -c -DUNIX -o namelist.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc namelist.c
xlc -c -DUNIX -o channel.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc channel.c
xlc -c -DUNIX -o mqutils.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc mqutils.c
xlc -c -DUNIX -o process.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc process.c
xlc -c -DUNIX -o qmgr.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc qmgr.c
xlc -c -DUNIX -o queue.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc queue.c
xlc -c -DUNIX -o authinfo.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc authinfo.c
xlc -c -DUNIX -o listener.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc listener.c
xlc -c -DUNIX -o services.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc services.c
xlc -c -DUNIX -o stgclass.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc stgclass.c
xlc -c -DUNIX -o system.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc system.c
xlc -c -DUNIX -o usage.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc usage.c
xlc -c -DUNIX -o log.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc log.c
xlc -c -DUNIX -o cfstruct.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc cfstruct.c
xlc -c -DUNIX -o archive.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc archive.c
xlc -c -DUNIX -o oam.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc oam.c
xlc -c -DUNIX -o topic.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc topic.c
xlc -c -DUNIX -o subscript.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc subscript.c
xlc -o saveqmgr.aix32 -L/usr/mqm/lib -L. -lm -lmqm saveqmgr.o args.o namelist.o channel.o mqutils.o process.o qm
gr.o queue.o authinfo.o listener.o services.o stgclass.o system.o usage.o log.o cfstruct.o archive.o oam.o topic.o subsc
ript.o
xlc -c -DUNIX -DUSEMQCNX -o saveqmgrc.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc saveqmgr.c
xlc -o saveqmgrc.aix32 -L/usr/mqm/lib -L. -lm -lmqic saveqmgrc.o args.o namelist.o channel.o mqutils.o process.o
qmgr.o queue.o authinfo.o listener.o services.o stgclass.o system.o usage.o log.o cfstruct.o archive.o oam.o topic.o su
bscript.o
Target "all" is up to date. |
this is with
Code: |
xlC.adt.include 9.0.0.0 COMMITTED C Set ++ Application
xlC.aix50.rte 10.1.0.2 COMMITTED XL C/C++ Runtime for AIX 5.3
xlC.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 10.1.0.2 COMMITTED XL C/C++ Runtime
xlC.rte 10.1.0.2 COMMITTED XL C/C++ Runtime |
If it *was* you that contacted me by email, the good news is you'll have a build on the way real soon now.
If it *wasn't* you, then... contact me by email. |
|
Back to top |
|
 |
sanghaviamit |
Posted: Fri Jun 03, 2011 10:06 am Post subject: Need Saveqmgr for 32-bit MQ 5.3 |
|
|
Novice
Joined: 26 Jul 2006 Posts: 12 Location: India
|
Can you provide your email id?
Need Saveqmgr for 32-bit MQ 5.3
mqjeff wrote: |
Okay.
I just retested this. I have reasonably determined that the bugs I was having in copying files to the test AIX system were because I was being a bonehead and doing a manual FTP *without* setting BINARY mode first... and thus making a hash of my tar.Z file in transfer.
When I did set binary, I was able to run
Code: |
aix:/ms03 164% make -f makefile.aix32
xlc -c -DUNIX -o saveqmgr.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc saveqmgr.c
xlc -c -DUNIX -o args.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc args.c
xlc -c -DUNIX -o namelist.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc namelist.c
xlc -c -DUNIX -o channel.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc channel.c
xlc -c -DUNIX -o mqutils.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc mqutils.c
xlc -c -DUNIX -o process.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc process.c
xlc -c -DUNIX -o qmgr.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc qmgr.c
xlc -c -DUNIX -o queue.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc queue.c
xlc -c -DUNIX -o authinfo.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc authinfo.c
xlc -c -DUNIX -o listener.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc listener.c
xlc -c -DUNIX -o services.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc services.c
xlc -c -DUNIX -o stgclass.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc stgclass.c
xlc -c -DUNIX -o system.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc system.c
xlc -c -DUNIX -o usage.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc usage.c
xlc -c -DUNIX -o log.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc log.c
xlc -c -DUNIX -o cfstruct.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc cfstruct.c
xlc -c -DUNIX -o archive.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc archive.c
xlc -c -DUNIX -o oam.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc oam.c
xlc -c -DUNIX -o topic.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc topic.c
xlc -c -DUNIX -o subscript.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc subscript.c
xlc -o saveqmgr.aix32 -L/usr/mqm/lib -L. -lm -lmqm saveqmgr.o args.o namelist.o channel.o mqutils.o process.o qm
gr.o queue.o authinfo.o listener.o services.o stgclass.o system.o usage.o log.o cfstruct.o archive.o oam.o topic.o subsc
ript.o
xlc -c -DUNIX -DUSEMQCNX -o saveqmgrc.o -I. -I/usr/include -I/usr/include/sys -I/usr/mqm/inc saveqmgr.c
xlc -o saveqmgrc.aix32 -L/usr/mqm/lib -L. -lm -lmqic saveqmgrc.o args.o namelist.o channel.o mqutils.o process.o
qmgr.o queue.o authinfo.o listener.o services.o stgclass.o system.o usage.o log.o cfstruct.o archive.o oam.o topic.o su
bscript.o
Target "all" is up to date. |
this is with
Code: |
xlC.adt.include 9.0.0.0 COMMITTED C Set ++ Application
xlC.aix50.rte 10.1.0.2 COMMITTED XL C/C++ Runtime for AIX 5.3
xlC.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 10.1.0.2 COMMITTED XL C/C++ Runtime
xlC.rte 10.1.0.2 COMMITTED XL C/C++ Runtime |
If it *was* you that contacted me by email, the good news is you'll have a build on the way real soon now.
If it *wasn't* you, then... contact me by email. |
_________________ Regards & Thanks,
Amit Sanghavi. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 03, 2011 10:15 am Post subject: Re: Need Saveqmgr for 32-bit MQ 5.3 |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
sanghaviamit wrote: |
Can you provide your email id? |
If you look carefully, you'll notice an "email" button at the bottom of his post.
Try that.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Jun 03, 2011 10:30 am Post subject: Re: Need Saveqmgr for 32-bit MQ 5.3 |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
sanghaviamit wrote: |
Can you provide your email id? |
If you look carefully, you'll notice an "email" button at the bottom of his post.
Try that.  |
Uhm.
no, probably not.
If you look carefully at the "read.me" file that comes with saveqmgr, however... |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Jun 03, 2011 10:32 am Post subject: Re: Need Saveqmgr for 32-bit MQ 5.3 |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
mqjeff wrote: |
If you look carefully at the "read.me" file that comes with saveqmgr, however... |
What!? Read a read.me file?? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 03, 2011 10:58 am Post subject: Re: Need Saveqmgr for 32-bit MQ 5.3 |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
no, probably not. |
Really? Since when?
mqjeff wrote: |
If you look carefully at the "read.me" file that comes with saveqmgr, however... |
Never a read.me to hand when you need one... _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Jun 03, 2011 11:04 am Post subject: Re: Need Saveqmgr for 32-bit MQ 5.3 |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Vitor wrote: |
mqjeff wrote: |
no, probably not. |
Really? Since when? |
I don't see an email button for anyone. You seem to keep forgetting that, as a mod, you may see things that other people do not.
I don't recall which email address this particular account is tied to. I don't believe I've configured this account to 'share' an email address with viewers in general. Regardless, it is very likely not the one that is in the read.me and thus the correct address. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 03, 2011 11:26 am Post subject: Re: Need Saveqmgr for 32-bit MQ 5.3 |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
I don't see an email button for anyone. You seem to keep forgetting that, as a mod, you may see things that other people do not. |
It's been a long and especially difficult Friday. At the end of a long and especially difficult week. When your "MQ team" consists of yourself & 3 part-time, part-trained people (2 COBOL developers and a Java developer) it's something of a blow to discover one of them has been "let go" as being surplus to the company's needs. It's more of a blow when he was escorted out last Friday & I only found out by accident yesterday when I went to ask him how the work he was doing for me was going.
And today I got a new development requirement. For the development that's currently in UAT & goes live at the end of July.
If anybody has some nice, simple, well-regulated WMB oppertunities in the vicinity of Columbus Ohio with enough healthcare to pay for my ongoing therapy & a relaxed attitude to staff members hitting themselves or others with large fish please email me.......  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Sat Jun 04, 2011 5:44 am Post subject: Re: Need Saveqmgr for 32-bit MQ 5.3 |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Vitor wrote: |
It's been a long and especially difficult Friday. At the end of a long and especially difficult week. When your "MQ team" consists of yourself & 3 part-time, part-trained people (2 COBOL developers and a Java developer) it's something of a blow to discover one of them has been "let go" as being surplus to the company's needs. It's more of a blow when he was escorted out last Friday & I only found out by accident yesterday when I went to ask him how the work he was doing for me was going.
And today I got a new development requirement. For the development that's currently in UAT & goes live at the end of July. |
I do believe that what you are looking for can be found within a dictionary - between a scatological definition and one for what was known as the 'French disease'.  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
|