[omniORB] Problems in installing and compiling with AIX 4.2

Mitchell, Brian BMitchell@Broner.co.uk
Mon, 15 May 2000 16:49:31 +0100


Hi,

	I'm trying to install and compile omniORB_280 on an RS6000 AIX 4.2
system using the xlc compiler.
I have set the platform type to AIX 4.2.
During compilation (make export) stage I got hundreds of warnings like the
ones below. Also during compilation of any
application that uses omniORB I get these warnings.

I have set the $LD_LIBRARY_PATH to point the lib/powerpc_aix_4.2 directory,
I also have the $PATH pointing to
this directory. If I try to run a naming service as "omniNames -start 1812"
I get errors telling me that it cant find the
libraries needed. I have added my library directory below. In the library
directory I have no shared libraries e.g. *.so.*
This directory also looks very different to a SUN or an Alpha version of the
libs.

If you can answer one or more of the questions I would be very grateful.

Has it all compiled ok? am I missing the symbolic links? why did I get all
the warnings? and why cant omniNames
see the libraries that it needs?

Brian.


Compiling sgpplanimpl.cxx
"/usr/local/corba/include/omniORB2/corbaidl_defs.hh", line 7.9: 1540-316:
(W) The nested class "CORBA::IDLType" is undefined and cannot be defined
later.
"/usr/local/corba/include/omniORB2/corbaidl_defs.hh", line 10.7: 1540-316:
(W) The nested class "CORBA::_proxy_IDLType" is undefined and cannot be
defined later.
"/usr/local/corba/include/omniORB2/corbaidl_defs.hh", line 11.7: 1540-316:
(W) The nested class "CORBA::_sk_IDLType" is undefined and cannot be defined
later.
"/usr/local/corba/include/omniORB2/corbaidl_defs.hh", line 12.7: 1540-316:
(W) The nested class "CORBA::_nil_IDLType" is undefined and cannot be
defined later.
"/usr/local/corba/include/omniORB2/CORBA.h", line 1429.9: 1540-316: (W) The
nested class "CORBA::InterfaceDef" is undefined and cannot be defined later.
"/usr/local/corba/include/omniORB2/CORBA.h", line 1435.9: 1540-316: (W) The
nested class "CORBA::OperationDef" is undefined and cannot be defined later

brianm@bgrs06:corba/bin/powerpc_aix_4.3% omniNames -start 1812
16:28
exec(): 0509-036 Cannot load program omniNames because of the following
errors:
        0509-022 Cannot load library libomnithread2.a[libomnithread.so.2.1].
        0509-026 System error: A file or directory in the path name does not
exist.


libomniDynamic2-ar.a   libomniGK_alone-ar.a   libomniLC3.a@
libomniORB28.a@        libomnithread2.a@
libomniDynamic28.a@    libomniGK_stub-ar.a    libomniLC3.a.0
libomniORB28.a.0       libomnithread2.a.1
libomniDynamic28.a.0   libomniLC-ar.a         libomniORB2-ar.a
libomnithread-ar.a     libtcpwrapGK-ar.a