Author |
Message
|
jeevan |
Posted: Fri Sep 10, 2010 10:25 am Post subject: Compiling/recompiling blockip2 on Aix |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
I have blockip2 on Aix. it was working until the unix folks upgrade their Aix to TL 12 from TL 8. I think I need to recompile the BLICKIP2. I am looking the manual. In the page 32/51, it says
AIX and MQ version 6.0 / 7.0
xlc_r -q64 -e MQStart -bE:BlockIP2.exp -o BlockIP2
BlockIP2.c -I/usr/mqm/inc -D_REENTRANT -DUNIX -DHNLUP -
DAIX
to compile in Aix. should not it start with gcc or some kind of c compiler? can someone help me how /what command to compile for aix 5.3 tl 12?
thanks |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Sep 10, 2010 10:47 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
jeevan |
Posted: Fri Sep 10, 2010 11:14 am Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
mqjeff wrote: |
xlc_r *is* a compiler. |
I guesed that but was not sure. Is tha the way to compile in AIX? |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Sep 10, 2010 2:05 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
jeevan wrote: |
I guesed that but was not sure. Is tha the way to compile in AIX? |
Hmm. I wonder who to ask.
You should have learned a long time ago how to find an InfoCenter.
 |
|
Back to top |
|
 |
RogerLacroix |
Posted: Fri Sep 10, 2010 3:38 pm Post subject: Re: Compiling/recompiling blockip2 on Aix |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
jeevan wrote: |
it was working until the unix folks upgrade their Aix to TL 12 from TL 8. I think I need to recompile the BLICKIP2. |
The binary should be compatible with both release levels. Maybe you just messed up your channel definitions.
jeevan wrote: |
should not it start with gcc or some kind of c compiler? |
GCC is not a supported compiler. You need to use IBM's XLC compiler & linker.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
jeevan |
Posted: Fri Sep 10, 2010 6:01 pm Post subject: Re: Compiling/recompiling blockip2 on Aix |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
RogerLacroix wrote: |
jeevan wrote: |
it was working until the unix folks upgrade their Aix to TL 12 from TL 8. I think I need to recompile the BLICKIP2. |
The binary should be compatible with both release levels. Maybe you just messed up your channel definitions.
jeevan wrote: |
should not it start with gcc or some kind of c compiler? |
GCC is not a supported compiler. You need to use IBM's XLC compiler & linker.
Regards,
Roger Lacroix
Capitalware Inc. |
Thank Roger. |
|
Back to top |
|
 |
jeevan |
Posted: Fri Sep 10, 2010 6:03 pm Post subject: |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
mqjeff wrote: |
jeevan wrote: |
I guesed that but was not sure. Is tha the way to compile in AIX? |
Hmm. I wonder who to ask.
You should have learned a long time ago how to find an InfoCenter.
 |
I do not disagree with you but ......... sometime we slipped. |
|
Back to top |
|
 |
|