ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Oracle MQ interface Installation [urgent]

Post new topic  Reply to topic
 Oracle MQ interface Installation [urgent] « View previous topic :: View next topic » 
Author Message
nicojvr
PostPosted: Fri Aug 22, 2003 2:37 am    Post subject: Oracle MQ interface Installation [urgent] Reply with quote

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
View user's profile Send private message
EvolutionQuest
PostPosted: Fri Aug 22, 2003 10:54 am    Post subject: Re: Oracle MQ interface installation Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
nicojvr
PostPosted: Sun Aug 24, 2003 10:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
EvolutionQuest
PostPosted: Mon Aug 25, 2003 7:40 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
nicojvr
PostPosted: Tue Sep 02, 2003 5:27 am    Post subject: Reply with quote

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
View user's profile Send private message
EvolutionQuest
PostPosted: Tue Sep 02, 2003 9:32 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
EvolutionQuest
PostPosted: Tue Sep 02, 2003 10:28 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
EvolutionQuest
PostPosted: Tue Sep 02, 2003 10:48 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Oracle MQ interface Installation [urgent]
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.