|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
CHAD exit not getting loaded |
« View previous topic :: View next topic » |
Author |
Message
|
wschutz |
Posted: Thu Nov 16, 2006 4:10 am Post subject: |
|
|
 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 |
|
 |
prince_mq |
Posted: Thu Nov 16, 2006 4:30 am Post subject: |
|
|
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 |
|
 |
|
|
|
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
|
|
|
|