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 » User Exits » Compiling BlockIP2 for Solaris using cc

Post new topic  Reply to topic
 Compiling BlockIP2 for Solaris using cc « View previous topic :: View next topic » 
Author Message
mqdogsbody
PostPosted: Wed May 08, 2013 8:35 am    Post subject: Compiling BlockIP2 for Solaris using cc Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Thu May 09, 2013 8:14 am    Post subject: Reply with quote

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
View user's profile Send private message
mqdogsbody
PostPosted: Fri May 10, 2013 1:00 am    Post subject: Reply with quote

Acolyte

Joined: 01 Jun 2010
Posts: 71

mqjeff wrote:
You could try the more recent IBM instructions.

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
View user's profile Send private message
mqjeff
PostPosted: Fri May 10, 2013 5:08 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

mqdogsbody wrote:
mqjeff wrote:
You could try the more recent IBM instructions.

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
View user's profile Send private message
mqdogsbody
PostPosted: Fri May 10, 2013 5:24 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » User Exits » Compiling BlockIP2 for Solaris using cc
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.