Author |
Message
|
prince_mq |
Posted: Thu Nov 09, 2006 5:47 am Post subject: compilation command MQ 5.3 aix |
|
|
Voyager
Joined: 10 Aug 2006 Posts: 76
|
hi,
can any one provide me command for compiling channel auto definiton exit on AIX for MQ 5.3.
Thanks,
prince |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Nov 09, 2006 5:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
prince_mq |
Posted: Thu Nov 09, 2006 9:33 am Post subject: |
|
|
Voyager
Joined: 10 Aug 2006 Posts: 76
|
thanks jeff.
this worked for me
"cc -e MQStart -bE:exit.exp -bM:SRE -o /var/mqm/exits/exit exit.c -I/usr/mqm/inc -L/usr/mqm/lib -lmqmzf" |
|
Back to top |
|
 |
prince_mq |
Posted: Thu Nov 16, 2006 4:35 am Post subject: |
|
|
Voyager
Joined: 10 Aug 2006 Posts: 76
|
actually, i am getting warnings when i ran the above command:
ld: 0711-327 WARNING: Entry point not found: MQStart
ld: 0711-319 WARNING: Exported symbol not defined: MQStart
ld: 0711-319 WARNING: Exported symbol not defined: MY_MQ_CHANNEL_AUTO_DEF_EXIT
ld: 0711-244 ERROR: No csects or exported symbols have been saved
I ignored the warnings.. but the channels didnt start.
now, i changed my code abit and then compiled using this right command:
/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 |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Nov 16, 2006 4:50 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
prince_mq |
Posted: Thu Nov 16, 2006 5:11 am Post subject: |
|
|
Voyager
Joined: 10 Aug 2006 Posts: 76
|
hi jeff, sorry for confusion.
the old command is misleading in this thread. so, i thought if i some one refers this, they would be into trouble! |
|
Back to top |
|
 |
|