[omniORB] Trouble building OmniOrb 4.1.4 on Linux

Duncan Grisby duncan at grisby.org
Wed Apr 28 12:18:38 BST 2010


On Mon, 2010-04-26 at 19:19 -0700, Igor Polonsky wrote:

> I need to port a piece of software from Windows to Linux.  It uses
>  CORBA, but I can't use the same ORB vendor as we have on Windows.  So
>  I've decided to give OmniORB a try.

It might be a good idea to port your software to use omniORB on Windows
first, rather than porting between ORBs and platforms all in one go.

What distribution and version of Linux. What platform?

[...]
> It has detected the gcc/g++ compiler; there were no errors; and there
>  were only a couple of benign-looking warnings:
>  
> config.status: WARNING:  '../omniORB-4.1.4/mk/beforeauto.mk.in' seems to ignore the --datarootdir setting
> config.status: WARNING:  '../omniORB-4.1.4/contrib/pkgconfig/omniORB4.pc.in' seems to ignore the --datarootdir setting
> config.status: WARNING:  '../omniORB-4.1.4/contrib/pkgconfig/omniCOS4.pc.in' seems to ignore the --datarootdir setting

Those are indeed benign.

[...]
> ../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/idlsysdep.h:113:3: error: #error "Can't map Long (32 bits) to a native type."
> ../../../../../omniORB-4.1.4/src/tool/omniidl/cxx/idlutil.h:67: error: 'IDL_ULong' does not name a type

For some reason the build is confused about your word sizes.

Please send the contents of config.log and include/omniORB4/acconfig.h
that were generated by the configure script. Those should show what has
gone wrong.

Duncan.

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





More information about the omniORB-list mailing list