[omniORB] Compiling examples for DEC OSPF 1_4

Sai-Lai Lo S.Lo@uk.research.att.com
10 Mar 1999 11:57:20 +0000

I don't know what is DEC OSPF 1_4. I suppose it is something close to
Digital Unix 4.0.

The problem you have may well related to the version of the compiler and
the OS version.

In the release notes and download instructions etc, we always list the OS
version and compiler version. It is important that you use that
combination. If you use a different version, please make an effort to find
out whether there is any incompatiability.

For instance, as said in the FAQ, gcc on DEC is a no go and I think it is
still the case with egcs-1.1.1 as well. It is a pity really but I would
assume gcc/egcs not to generate the right code or with bugs in the runtime
unless the release notes or someone on this list says otherwise. For the
moment, omniORB2 can be compiled and run with egcs-1.1.1 (properly
configured) on x86 linux, solaris and AIX. There may be other egcs/platform
combinations that work but I'm not sure.

There is a major difference between DEC C++ v6.0 and DEC C++ v5.x. The binary
we distribute for DU 4.0 is for DEC C++ v6.0. The binary for DU 3.2 is for
DEC C++ v5.x. Please check what version your compiler is. Have a look at
<top>/mk/platforms/{alpha_osf1_4.0.mk,alpha_osf1_3.2.mk} to change the
compiler flags accordingly.


>>>>> Jonathan Silver writes:

> Does anyone have any experience compiling the examples on this version?
> I compiled using both the DEC compiler and the gcc compiler and eg3_impl
> cores during initializtion. It sort of looks like a library thing because
> the
> core dump contains the following:

> 	19 (unknown)() [0x3ff81d348a8]
>   	20 __cxx_throw_ctor(0x3ffbffba5c4, 0x14002f800, 0x2, 0x140009dc8,
> 0x1400225f8)
> 	 [0x3ff81d34bf4]
>   	21 resolve_initial_references__Q15CORBA3ORBXPCc(0x1400225f8, 0x14000ac50,
> 0x12000793c, 0x1, 0x3ffffff9f68) [0x3ffbffba5c0]
> 	22 (unknown)() [0x120007938]
> 	23 main(0x3ff80016140, 0x14001f280, 0x100000000, 0x100000001, 0x14002f560)
> [0x1200077e0]

> I did set LD_LIBRARY_PATH=./omniORB_2.7.0/lib/alpha_osf1_4.0 and the compile
> seems
> to work as does eg2_impl.

> Does anyone have any suggestions?
> thanks,
> jonathan.silver@techcontrol.com

Sai-Lai Lo                                   S.Lo@uk.research.att.com
AT&T Laboratories Cambridge           WWW:   http://www.uk.research.att.com 
24a Trumpington Street                Tel:   +44 223 343000
Cambridge CB2 1QA                     Fax:   +44 223 313542