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 » User Exits » MR01 Exit Compiling Error

Post new topic  Reply to topic
 MR01 Exit Compiling Error « View previous topic :: View next topic » 
Author Message
visitraja
PostPosted: Mon Apr 02, 2012 4:50 am    Post subject: MR01 Exit Compiling Error Reply with quote

Novice

Joined: 08 Feb 2012
Posts: 14

Hi I am trying to install Mr01 message exit onto my channel but I found that the .dll was unable to get loaded on to the channel during starting and the channel goes to retrying state,

While starting the channel , I am getting the following error in the logs "This Message Applies to Windows NT and Windows 2000" Systems only" The OS we are using in windows 2003 server.


I tried to compile using cygwin , Can you please help me with compiling the "C" code provided as I made(tweaked this and that in the middle) the GCC command to run instead of executing the command in right way.
because I got the error "/home/user/MR01/cmqc.h:2294: error: expected `=', `,', `;', `asm' or `__attribute__' before `*' token" .

Since the error is showing in the both cmqc.h and cmqxc.h , I am unable to proceed further.

Can you please help me with the command, an also the link command.


Thanks
visitraja
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Apr 02, 2012 4:59 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Compiling with Cygwin isn't going to help.

It would require that your queue manager also be compiled with cygwin.

Go back to square one.
  1. contact the owner/maintainer of the supportpac
  2. follow the instructions in the supportpac documentation for troubleshooting and compiling.
Back to top
View user's profile Send private message
visitraja
PostPosted: Mon Apr 02, 2012 6:22 am    Post subject: Reply with quote

Novice

Joined: 08 Feb 2012
Posts: 14

The Support Pac Documentation says to refer the MQ inter Communication manual for the compilation reference, even that doesn't help me , Its not described clearly , but in the infocenter I could find some examples for compiling through a compiler "lc.exe" , which I am unable to get online.

Plz share if you have some otherway to do it.

Thanks
visitraja
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Apr 02, 2012 9:32 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You need Visual Studio to compile C code on Windows.

You can use Visual Studio Express.
Back to top
View user's profile Send private message
visitraja
PostPosted: Tue Apr 03, 2012 3:33 am    Post subject: Reply with quote

Novice

Joined: 08 Feb 2012
Posts: 14

Thanks Jeff,

Let me try with Visual Studio.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » User Exits » MR01 Exit Compiling Error
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.