|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Compiling BlockIP2 for Solaris using cc |
« View previous topic :: View next topic » |
Author |
Message
|
mqdogsbody |
Posted: Wed May 08, 2013 8:35 am Post subject: Compiling BlockIP2 for Solaris using cc |
|
|
 Acolyte
Joined: 01 Jun 2010 Posts: 71
|
I need to recompile BlockIP2 to increase the number of hosts allowed.
If I follow mrmq's instructions I get two warnings;
Code: |
cc: Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs
cc: Warning: a -xcode value producing position independent code should be specified when producing dynamic objects by passing -G to the linker. |
The first is easy (I hope): I just used "-m64 -xarch=sparc".
But the second puzzled me. "-G" seems to want position-independent code, but mrmq's instructions specify "-xcode=abs64". That seems to be a contradiction!!
For what it's worth, I also followed IBM's instructions. I get the same warning and then an error:
Code: |
ld: fatal: relocation error: R_SPARC_H44: file BlockIP2.o: symbol <unknown>: relocations based on the ABS44 coding model can not be used in building a shared object
|
_________________ -- mqDB -- |
|
Back to top |
|
 |
mqjeff |
Posted: Thu May 09, 2013 8:14 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You could try the more recent IBM instructions.
Unless you're really using MQ v6? |
|
Back to top |
|
 |
mqdogsbody |
Posted: Fri May 10, 2013 1:00 am Post subject: |
|
|
 Acolyte
Joined: 01 Jun 2010 Posts: 71
|
I don't immediately spot any significant difference. (The use of -xarch=v9 suggests they too are a bit out of date. SunStudio12 says "cc: Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs". Even we are in the process of upgrading to this version of the Sun compiler.)
mqjeff wrote: |
Unless you're really using MQ v6? |
We really are! I know I know, ... _________________ -- mqDB -- |
|
Back to top |
|
 |
mqjeff |
Posted: Fri May 10, 2013 5:08 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
mqdogsbody wrote: |
I don't immediately spot any significant difference. (The use of -xarch=v9 suggests they too are a bit out of date. SunStudio12 says "cc: Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs". Even we are in the process of upgrading to this version of the Sun compiler.) |
there's a few less -l parms. But yes, I had to go through it a couple times to see that...
mqdogsbody wrote: |
mqjeff wrote: |
Unless you're really using MQ v6? |
We really are! I know I know, ... |
Well, ok. But are you sure you're actually at a 64bit level? It was a bit spotty in v6, various platforms had various kinds of support.
I mean, not ok. Bad bad admin, running v6, no biscuit. But, well, these are the things that are what they are. |
|
Back to top |
|
 |
mqdogsbody |
Posted: Fri May 10, 2013 5:24 am Post subject: |
|
|
 Acolyte
Joined: 01 Jun 2010 Posts: 71
|
mqjeff wrote: |
I mean, not ok. Bad bad admin, running v6, no biscuit. But, well, these are the things that are what they are. |
I had a recurrent reminder all last spring and summer and emailed my bosses regularly but never managed to attract "management focus". |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|