<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
<small><font face="Courier New, Courier, monospace">Hello to everybody,<br>
<br>
&nbsp;&nbsp;&nbsp; I've been working for 2 months with omniORB 2.8.0 on HPUX 11.00; I<br>
need to compile a CORBA process with a 64 bits library, but omniORB 2.8.0
is<br>
implemented for 32 bits, so I found errors at the linking phase, because
of<br>
the differences between omniORB2 32-bits library and my 64-bits library.<br>
&nbsp;&nbsp; &nbsp;<br>
&nbsp;&nbsp;&nbsp; At the first time, I made these two changes in order to obtain a<br>
64-bits version of omniORB 2.8.0 libraries :<br>
<br>
- I included the <i>+DA2.0W </i>compilation option in the installation process<br>
- I changed the CORBA_sysdep.h file line<br>
<i>#define SIZEOF_LONG 4</i><br>
&nbsp;&nbsp;&nbsp; for <br>
<i>#define SIZEOF_LONG 8</i><br>
<br>
&nbsp;&nbsp;&nbsp; The compilation of&nbsp; the make process for building and installation<br>
was successful and everything seemed to run OK until I used "long" types:<br>
CORBA complained "LONG" size was 32 instead of 64 bits.<br>
<br>
&nbsp;&nbsp; &nbsp;Then, I changed the CORBA_basetypes.h file lines:<br>
<i>#if SIZEOF_LONG == 4<br>
typedef long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _CORBA_Long;<br>
typedef unsigned long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _CORBA_ULong;</i><br>
&nbsp;&nbsp;&nbsp; for<br>
<i>#if SIZEOF_LONG == 8<br>
typedef long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _CORBA_Long;<br>
typedef unsigned long&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _CORBA_ULong;</i><br>
<br>
&nbsp;&nbsp; &nbsp;The compilation process finished successfully, but I got a 'Bus<br>
Error' coredump when I tried to startup the omniNames or another CORBA<br>
process. I realized these changes have lot of involvements in the<br>
bufferedStream.h file, and I don't know if I should go further this way,<br>
as perhaps there's a simpler solution other than severely modifying core<br>
source files.<br>
<br>
&nbsp;&nbsp; &nbsp;I understand that some people like Neeraj Bathia have achieved a 64<br>
bits version for omniORB 2.8.0.<br>
<br>
Thanks in advance.<br>
</font></small><br>
</body>
</html>