|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Help with building saveqmgr on sles9 32-bit. |
« View previous topic :: View next topic » |
Author |
Message
|
ncalsmitty1369 |
Posted: Wed Oct 08, 2008 12:59 pm Post subject: Help with building saveqmgr on sles9 32-bit. |
|
|
Newbie
Joined: 08 Oct 2008 Posts: 2
|
Hi,
I am trying to build a 32-bit version of saveqmgr from the ms03 support pack but am running into problems. I am hoping someone might be able to help me out? Here is what I have so far...
- I am running wmq v6.0.2.4, gcc v3.3.3, I have the Runtime, Server, Client, Samples, and Man packages installed.
- From the untar'd ms03 bundle I have edited makefile.linux to set the necessary 32 bit entries. eg - MQMLIB, LCOPTS, LCOPTC
- I ran make -f makefile.linux and received the following output:
gcc -c -DUNIX -Wall -o saveqmgr.o -I. -I/opt/mqm/inc saveqmgr.c
AND the following errors ( snip from beginning and end ):
saveqmgr.c:36:18: cmqc.h: No such file or directory
saveqmgr.c:37:20: cmqcfc.h: No such file or directory
saveqmgr.c:38:19: cmqxc.h: No such file or directory
In file included from saveqmgr.c:41:
saveqmgr.h:129: error: parse error before "MQCHAR"
saveqmgr.h:129: warning: no semicolon at end of struct or union
saveqmgr.h:130: error: `MQ_Q_MGR_DESC_LENGTH' undeclared here (not in a function)
saveqmgr.h:130: warning: type defaults to `int' in declaration of `QMgrDesc'
saveqmgr.h:130: warning: data definition has no type or storage class
saveqmgr.h:131: error: parse error before "Platform"
saveqmgr.h:131: warning: type defaults to `int' in declaration of `Platform'
saveqmgr.h:131: warning: data definition has no type or storage class
- CUT TO SAVE SPACE -
saveqmgr.h:356: error: storage size of `MCAName' isn't known
saveqmgr.h:357: error: storage size of `ChannelDesc' isn't known
saveqmgr.h:365: error: storage size of `SecurityExit' isn't known
saveqmgr.h:393: error: storage size of `SecurityUserData' isn't known
saveqmgr.h:395: error: storage size of `MCAUserIdentifier' isn't known
saveqmgr.h:396: error: storage size of `UserIdentifier' isn't known
saveqmgr.h:397: error: storage size of `Password' isn't known
saveqmgr.h:456: error: storage size of `ProcessDesc' isn't known
saveqmgr.h:458: error: storage size of `ApplID' isn't known
saveqmgr.h:459: error: storage size of `EnvData' isn't known
saveqmgr.h:460: error: storage size of `UserData' isn't known
saveqmgr.h:1262: error: storage size of `qName' isn't known
make: *** [saveqmgr.o] Error 1
I am guessing that I am missing a dev package or something? Does anyone have any suggestions?
Thanks,
M |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Oct 08, 2008 1:04 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
It seems that it can't find your MQ install.
Can you contact me by email, per the address in the read.me, and send me your modified makefile.linux, and whatever other details you think are pertinent?
Make sure, for example, that you can run dspmq from the user that is doing the build. |
|
Back to top |
|
 |
ncalsmitty1369 |
Posted: Wed Oct 08, 2008 3:46 pm Post subject: SOLVED: help with building saveqmgr. |
|
|
Newbie
Joined: 08 Oct 2008 Posts: 2
|
After MQJeff asked about having a working installation, which I did, I started looking at the file listings for the rpm packages that I didn't install.
AND... I figured out that I needed to have the MQSDK rpm package installed in order to build the saveqmgr binary.
Now that I look back, that probably should have been a no-brainer.
Oh well, live and learn.
Thanks MQJeff! |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|