[omniORB] Installation problem with OmniOrb 4.0 64 bit and Solaris 8

Duncan Grisby duncan@grisby.org
Thu Oct 31 00:02:01 2002


On Tuesday 29 October, "Niklas Iveslatt" wrote:

> We are trying to build a 64 bit version of OmniOrb 4.0 on Solaris 8 and we
> are having some problems.
> 
> We have added
> 
> -xtarget=ultra -xarch=v9
> 
> to applicable places in sun4_sosV_5.7.mk and made changes to SIZEOF_LONG
> and SIZEOF_PTR in include/omniORB4/CORBA_sysdep_trad.h

You might be better off using the autoconf based configuration,
running configure with something like

  configure CXX="CC -xtarget=ultra -xarch=v9" <other configure args>

> The problems happens a while after kicking off the build using make export
> in the src directory... The error which is a coredump listed below seems to
> happen in the omniidl component.

omniidl links against Python, which was probably compiled in 32 bit
mode. You should either build a Python with 64 bit mode (with the same
kind of configure option), or build omniidl in 32 bit mode (it has no
benefit from being 64 bit), and the omniORB libraries in 64 bit mode.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan@grisby.org     --
   -- http://www.grisby.org --