Your cmqc.h looks somewhat strange. Here is the relevant excerpt from my system
(solaris 8, mq 5.3):
typedef struct tagMQCNO MQCNO;
typedef MQCNO MQPOINTER PMQCNO;
typedef PMQCNO MQPOINTER PPMQCNO;
struct tagMQCNO {
MQCHAR4 StrucId; /* Structure identifier */
MQLONG Version; /* Structure version number */
MQLONG Options; /* Options that control the action of MQCONNX */
MQLONG ClientConnOffset; /* Offset of MQCD structure for client connection */
MQPTRClientConnPtr; /* Address of MQCD structure for client connection */
MQBYTE128 ConnTag; /* Queue-manager connection tag */
PMQSCO SSLConfigPtr;/* Address of MQSCO structure for client connection */
MQLONG SSLConfigOffset; /* Offset of MQSCO structure for client connection */
};
Hope this will help,
Pavel
Christopher Fryett
<[EMAIL PROTECTED]To: [EMAIL PROTECTED]
FOMAHA.COM> cc:
Sent by: MQSeriesSubject: Oracle MQ Interface
[urgent]
List
<[EMAIL PROTECTED]
.AT>
09/02/2003 01:31 PM
Please respond to
MQSeries List
Can anyone help with this question:
hi,
Here is the situation , I am trying to install the MQSeries Oracle support
onto our unix environment. All the libraries the installation needs are
there, but the compiler gives me errors. I have provided the code extracts
from the cmqc.h file and the mqi.c file as well as the compilation errors.
cmqc.h
Code:
/*/ /* MQCNO Structure
-- COnnect Options */
/*/typedef
struct tagMQCNO { MQCHAR4 StrucId; /* Structure identifier */ MQLONG
Version; /* Structure version number */ MQLONG Options; /* Options that
control the action of MQCONNX */ } MQCNO; typedef MQCNO MQPOINTER
PMQCNO; #define MQCNO_DEFAULT {MQCNO_STRUC_ID_ARRAY},\ MQCNO_VERSION_1,\
mqi.c
Code:
{ *rawMQCNO_len=20; memcpy(rawMQCNO->StrucId,StrucId,4);
rawMQCNO->Version=*Version; rawMQCNO->Options=*Options;
rawMQCNO->ClientConnOffset=*ClientConnOffset;
rawMQCNO->ClientConnPtr=*ClientConnPtr; }
Error from mqinstall.sh
Compiling C subroutines...
UX:cc: ERROR: No such profiler 32prof
UX:cc: ERROR: No such profiler 32prof
Making shared libraries...
UX:make: ERROR: don't know how to make /usr/mqm/lib/libmqm.a (bu42).
/d000/app/oracle/product/8.1.7a/bin/echodo cc -c
-I/d000/app/oracle/product/8.1.7a/rdbms/demo
-I/d000/app/oracle/product/8.1.7a/rdbms/public
-I/d000/app/oracle/product/8.1.7a/plsql/public
-I/d000/app/oracle/product/8.1.7a/network/public
-I/d000/app/oracle/product/8.1.7a/precomp/public mqi.c
cc -c -I/d000/app/oracle/product/8.1.7a/rdbms/demo
-I/d000/app/oracle/product/8.1.7a/rdbms/public
-I/d000/app/oracle/product/8.1.7a/plsql/public
-I/d000/app/oracle/product/8.1.7a/network/public
-I/d000/app/oracle/product/8.1.7a/precomp/public mqi.c
UX:acomp: ERROR: "mqi.c", line 70: undefined struct/union member:
ClientConnOffset
UX:acomp: ERROR: "mqi.c", line 71: undefined struct/union member:
ClientConnPtr
UX:acomp: WARNING: "mqi.c", line 71: improper pointer/integer combination:
op "="
UX:acomp: ERROR: "mqi.c", line 85: undefined struct/union member:
ClientConnOffset
UX:acomp: ERROR: "mqi.c", line 86: undefined struct/union member:
ClientConnPtr
UX:acomp: WARNING: "mqi.c", line 86: improper pointer/integer combination:
op "="
UX:acomp: ERROR: "mqi.c", line 120: undefined struct/union member: MsgToken
Have you any idea how to resolve this.
Thanks
Nico
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
--
This e-mail may contain confidential and/or privileged information. If you are not the
intended recipient (or have received this e-mail in error) please notify the sender
immediately and destroy this e-mail. Any unauthorized copying, disclosure or
distribution of the material in this e-mail is strictly forbidden.
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive