|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problems trying to re-compile Blockip2 for Solaris Sparc |
« View previous topic :: View next topic » |
Author |
Message
|
Dougster |
Posted: Wed Jul 11, 2007 8:35 am Post subject: Problems trying to re-compile Blockip2 for Solaris Sparc |
|
|
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 |
|
 |
tleichen |
Posted: Wed Jul 11, 2007 1:12 pm Post subject: |
|
|
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 |
|
 |
oz1ccg |
Posted: Wed Jul 11, 2007 1:20 pm Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|