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 Installation/Configuration Support » CHAD exit not getting loaded

Post new topic  Reply to topic Goto page Previous  1, 2
 CHAD exit not getting loaded « View previous topic :: View next topic » 
Author Message
wschutz
PostPosted: Thu Nov 16, 2006 4:10 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

The windows compiler/headers must have a builtin _WIN32 defined, however, AIX doesn't define _unix for you...normally, you can pass those "environment varialbes" on the compiler command line with a -D flag: -D_unix

fj's suggestion is also good....
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
prince_mq
PostPosted: Thu Nov 16, 2006 4:30 am    Post subject: Reply with quote

Voyager

Joined: 10 Aug 2006
Posts: 76

Thanks wayne, fjb, gaya3.

now, i have changed the code to

#ifdef _WIN32
----------
- -----
#elif _AIX

----
----
#endif

it works!

and Regarding the errors i wrote in the original post, those are also resolved now. I am not getting any warnings like MQStart not found. I used the above pseudo code and the following code for compiling:

/usr/vacpp/bin/xlC -c chadexit.c -I /usr/mqm/inc

/usr/vacpp/bin/xlC -L /usr/mqm/lib -lmqm chadexit.o -o chadexit -bE:chadexit.exp -H512 -T512 -e MQStart -bM:SRE

Cheers,
prince
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » CHAD exit not getting loaded
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.