[omniORB] OmniORB 2.8.0 pre-release and Sun native v5.0 compiler (SUCCESS!!)

Tom Dube tdube@caminus.com
Wed, 14 Jul 1999 15:56:30 -0400


At 03:13 PM 7/12/99 -0400, Tom Dube wrote:
>
>The 2.8.1. pre-release ... >release to build either.   While linking
omniidl2, I get the following 
>errors: 
(snip)
>[ Note: omniidl2 in 2.7.1 successfully builds with the same compiler].

I found that the reason I was able to build omniidl2 in 2.7.1 was
that I had changed a few things.

Making the same changes in the 2.8.0 pre-release resulted in success!


1.  In the file: omniORB_280pre1/include/CORBA_sysdep.h

    Add the following line to the section for __SUNPRO_CC >= 0x500
	#define HAS_Cplusplus_Bool

2. In the file: omniORB_280pre1/mk/platforms/sun4_sosV_5.6.mk 
	(or other OS version)

    Change
	CXXDEBUGFLAGS = -O2
    to
	CXXDEBUGFLAGS = -O2 -g

    And change
	OMNIORB_CONFIG_DEFAULT_LOCATION = /etc/omniORB.cfg
    to
	OMNIORB_CONFIG_DEFAULT_LOCATION = \"/etc/omniORB.cfg\"

   It was the missing -g compiler option which causes the mysterious link
errors:
	__SLIP.DELETER__C
	omniORB2_be/libomniORB2_be.a(o2be_predefined_type.o)
	__SLIP.DELETER__D
omniORB2_be/libomniORB2_be.a(o2be_enum.o)
	__SLIP.DELETER__E

Best wishes,
	Tom