[omniORB] Problem with IDL to C++

Swapnil Wale swapnil.wale at gitechnologies.com
Fri Mar 4 00:46:10 GMT 2005


Hi Duncan,
          I did download the 4.1.0 development snapshot. But I am unable to
build it on XP. Below is the message which I get.

----------------------------------------Message-----------------------------
--------------------
C:\omni\src>make export
making export in src/tool...
make[1]: Entering directory `/cygdrive/c/omni/src/tool'
making export in src/tool/omniidl...
make[2]: Entering directory `/cygdrive/c/omni/src/tool/omniidl'
making export in src/tool/omniidl/cxx...
make[3]: Entering directory `/cygdrive/c/omni/src/tool/omniidl/cxx'
making export in src/tool/omniidl/cxx/cccp...
make[4]: Entering directory `/cygdrive/c/omni/src/tool/omniidl/cxx/cccp'
../../../../../bin/x86_win32/clwrapper -gnuwin32 -c -O2 -MD -DHAVE_CONFIG_H 
-I.
-I. -I. -I../../../../../include -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__
 -D_
_NT__ -D__OSVERSION__=4 -Focexp.o cexp.c
cl -c -O2 -MD -DHAVE_CONFIG_H -I. -I. -I. -I..\..\..\..\..\include -D__WIN32
__ -
D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4 -Focexp.o cexp.c
cl: No such file or directory
make[4]: *** [cexp.o] Error 1
make[4]: Leaving directory `/cygdrive/c/omni/src/tool/omniidl/cxx/cccp'
make[3]: *** [export] Error 2
make[3]: Leaving directory `/cygdrive/c/omni/src/tool/omniidl/cxx'
make[2]: *** [export] Error 2
make[2]: Leaving directory `/cygdrive/c/omni/src/tool/omniidl'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/c/omni/src/tool'
make: *** [export] Error 2

----------------------------------------------------------------------------
--------------------

I have no idea where I am going wrong. I have followed the directions given
in the document. Can you help me out of this?

Thank you
-Swapnil-


-----Original Message-----
From: Duncan Grisby [mailto:duncan at grisby.org]
Sent: Thursday, March 03, 2005 4:04 PM
To: Swapnil Wale
Cc: omniorb-list at omniorb-support.com
Subject: Re: [omniORB] Problem with IDL to C++


On Thursday 3 March, "Swapnil Wale" wrote:

>         You are right. I tried to compile the same file with omni 4.0.5
and
> I got the following message-
[...]
> omniidl: omniORB does not currently support:
> omniidl:   IDL type valuetype, abstract interfaces
[...]
> So Luke does this mean that I cannot use omni 4.0.5 or any other omni
> version to make RMI-IIOP work?I am posting the EJBObject.idl below.

Try the omniORB 4.1.0 development snapshot from here:

  http://omniorb.sourceforge.net/snapshots/omniORB-4.1-latest.tar.gz

It will accept your IDL. RMI-IIOP has a nasty habit of generating
invalid IDL, so you may find that it complains about other IDL, though.

Cheers,

Duncan.

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





More information about the omniORB-list mailing list