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 » IBM MQ API Support » Problems trying to re-compile Blockip2 for Solaris Sparc

Post new topic  Reply to topic
 Problems trying to re-compile Blockip2 for Solaris Sparc « View previous topic :: View next topic » 
Author Message
Dougster
PostPosted: Wed Jul 11, 2007 8:35 am    Post subject: Problems trying to re-compile Blockip2 for Solaris Sparc Reply with quote

Novice

Joined: 04 Jul 2007
Posts: 12

Hi,

I am trying to re-compile the latest version of Blockip2 for a Solaris Sparc box (5.8 Generic_117350-22 sun4u sparc SUNW,Sun-Fire-880) which is running MQ version 5.3.

When running this syntax cc -xarch=v8plus -KPIC -mt -G -o /var/mqm/exits/BlockIP2 \ BlockIP2.c -I/opt/mqm/inc -L/opt/mqm/lib -R/opt/mqm/lib \ -R/usr/lib/32 -lmqm -lmqmcs -lmqmzse -lmqmzf -lsocket -lnsl -ldl

I get this error.

ucbcc: Warning: Option -YP,:/usr/ucblib:/opt/SUNWspro/WS6U2/bin/../lib:/opt/SUNWspro/WS6U2/bin:/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, ignored otherwise
"BlockIP2.c", line 8669: missing #endif


Any ideas what I am doing wrong?

Cheers!
Back to top
View user's profile Send private message
tleichen
PostPosted: Wed Jul 11, 2007 1:12 pm    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

It says you're missing an #endif. Is there some reason you don't believe this?
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
oz1ccg
PostPosted: Wed Jul 11, 2007 1:20 pm    Post subject: Reply with quote

Yatiri

Joined: 10 Feb 2002
Posts: 628
Location: Denmark

Hi, you need some conditional compilation options:
-DUNIX -D_REENTRANT -DSOLARIS -DHNLUP

If you miss thos you'll have problems with Solaris.

I hope it helps you.

-- Lock it or Lose it --
_________________
Regards, Jørgen
Home of BlockIP2, the last free MQ Security exit ver. 3.00
Cert. on WMQ, WBIMB, SWIFT.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Problems trying to re-compile Blockip2 for Solaris Sparc
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.