[omniORB] CosTrading and omniidl

Robert E. Gruber gruber@research.att.com
Mon, 30 Jul 2001 11:01:23 -0400


To expand on Duncan's answer,

In libdefs.mk, the variable COS_INTERFACES controls which interfaces are
included in the COS library and also which corresponding .hh files are
exported to the top level include/COS directory.

The file cosinterfaces.mk in the same directory is a helper file that
defines useful sets of interfaces that correspond to the different
standards.  It also goes over the depenencies between the interfaces --
ordering in the COS_INTERFACES list can matter.  The definition of
COS_ALL_INT shows you one way to get the order correct.

The default (see libdefs.mk) is currently:

COS_INTERFACES = $(TIMEBASE_INT) $(COS_EVT_INT) $(COS_NFY_INT)
$(COS_LCB_INT)

This set is needed to support omniNotify.

You just need to add $(COS_TRD_INT), the best place is probably just after
$(TIMEBASE_INT)

-- Bob


-----Original Message-----
From: owner-omniorb-list@uk.research.att.com
[mailto:owner-omniorb-list@uk.research.att.com]On Behalf Of Adam Cassar
Sent: Monday, July 30, 2001 10:46 AM
To: omniorb-list@uk.research.att.com
Subject: Re: [omniORB] CosTrading and omniidl


In the v3.0.4 download of omniORB the CosTrading includes
are not built. Is this a config option somewhere?

On Mon, Jul 30, 2001 at 02:55:14PM +0100, Duncan Grisby wrote:
> On Monday 30 July, Adam Cassar wrote:
>
> > The idl I downloaded from the omg site containes
>
> The IDL for all the COS services is included in the omniORB
> distribution in $TOP/idl/COS/ . The stubs for most of it, including
> CosTrading, are built into the libCOS library.
>
> > #include <orb.idl>
> >
> > Removed the include, and whiola, the idl compiles just file!
> > Is the above include superfluous?
>
> The CORBA spec says that before you can use CORBA::TypeCode in IDL,
> you must #include <orb.idl>. omniORB does not require that you do
> that, but it does provide an empty orb.idl file in $TOP/idl, so files
> #including it should work. Removing the #include works, but so does
> adding $TOP/idl to the omniidl include path.
>
> Cheers,
>
> Duncan.
>
> --
>  -- Duncan Grisby  \  Research Engineer  --
>   -- AT&T Laboratories Cambridge          --
>    -- http://www.uk.research.att.com/~dpg1 --
>
>
>

--

Adam Cassar
Technical Development Manager
___________________________________________
NetRegistry http://www.netregistry.net
D: +61 2 9641 8609 | F: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia