Author |
Message
|
nicojvr |
Posted: Fri Aug 22, 2003 2:37 am Post subject: Oracle MQ interface Installation [urgent] |
|
|
 Apprentice
Joined: 04 Jun 2003 Posts: 45
|
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,\
MQCNO_NONE |
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 |
|
Back to top |
|
 |
EvolutionQuest |
Posted: Fri Aug 22, 2003 10:54 am Post subject: Re: Oracle MQ interface installation |
|
|
 Voyager
Joined: 18 Sep 2001 Posts: 88 Location: Billings, MT
|
Nico:
From the code I can not tell if the ClientConnOffSet and ClientConnPtr actually exist, so the error could be valid. You are dereferencing these pointers so are you sure you want to do this?
Need more info. |
|
Back to top |
|
 |
nicojvr |
Posted: Sun Aug 24, 2003 10:42 pm Post subject: |
|
|
 Apprentice
Joined: 04 Jun 2003 Posts: 45
|
This is the standard installation downloaded from www.ibm.com.
using MQSeries Installation. CSD 4
Is there perhaps a newer version of cmqc.h ?
Cheers
Nico |
|
Back to top |
|
 |
EvolutionQuest |
Posted: Mon Aug 25, 2003 7:40 am Post subject: |
|
|
 Voyager
Joined: 18 Sep 2001 Posts: 88 Location: Billings, MT
|
Sorry, wish I could help. Try sending an email to the MQSeries List Server which has a larger population of folks that may be able to help here. |
|
Back to top |
|
 |
nicojvr |
Posted: Tue Sep 02, 2003 5:27 am Post subject: |
|
|
 Apprentice
Joined: 04 Jun 2003 Posts: 45
|
Thanks anyway,
I am using the API downloaded from IBM. Does anyone know of an API supplied by Oracle ?
cheers
N |
|
Back to top |
|
 |
EvolutionQuest |
Posted: Tue Sep 02, 2003 9:32 am Post subject: |
|
|
 Voyager
Joined: 18 Sep 2001 Posts: 88 Location: Billings, MT
|
I have sent your question to the MQ List Server which may respond in a faster method than here.
I'll post a message if a reply is sent.
Chris |
|
Back to top |
|
 |
EvolutionQuest |
Posted: Tue Sep 02, 2003 10:28 am Post subject: |
|
|
 Voyager
Joined: 18 Sep 2001 Posts: 88 Location: Billings, MT
|
Hi!,
we installed the attached SupportPac MA0I succesfully (modified under
instructions of Clark Nipko), but, just a problem, all the documentation is
in spanish, however, is easy to understand.
Thanks and regards,
Luis Garro Muñoz
Soluciones y Servicios
GBM de Costa Rica
e-mail: lgarro@gbm.net |
|
Back to top |
|
 |
EvolutionQuest |
Posted: Tue Sep 02, 2003 10:48 am Post subject: |
|
|
 Voyager
Joined: 18 Sep 2001 Posts: 88 Location: Billings, MT
|
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 */
MQPTR ClientConnPtr; /* 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 |
|
Back to top |
|
 |
|