[omniORB] Problem compiling OmniOrb 4.2.1 under AIX 7.1

Spangelo, K. (Kevin) Kevin.Spangelo at voya.com
Fri Apr 22 15:15:47 BST 2016


Still getting errors:

+ rm -f shared/libomniDynamic421.a
+ /app/beacon/linux/usr/bin/g++ -maix64 -gxcoff -feliminate-unused-debug-symbols -L/app/beacon/linux/usr/lib64 -lpython2.6 -L/app/beacon/linux/usr/lib64 -L/app/beacon/linux/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/pthread/ppc64
-L/app/beacon/linux/usr/lib -shared -fPIC -Wl,-brtl -Wl,-bexpfull -Wl,-blibpath:/lib:/usr/lib:/app/beacon/linux/usr/lib -o shared/libomniDynamic421.a -L../../../../lib -L../../../../../lib shared/ami.o shared/valueBase.o shared/valueFact
ory.o shared/valueTracker.o shared/valueType.o shared/unknownValue.o shared/abstractBase.o shared/any.o shared/anyStream.o shared/constants.o shared/context.o shared/contextList.o shared/dynamicImplementation.o shared/dynamicLib.o shared
/dynAny.o shared/dynAnyNil.o shared/dynException.o shared/environment.o shared/exceptionList.o shared/namedValue.o shared/nvList.o shared/policy.o shared/pseudoBase.o shared/request.o shared/orbMultiRequest.o shared/serverRequest.o share
d/tcParser.o shared/typecode.o shared/unknownUserExn.o shared/poastub.o shared/bootstrapdynstub.o shared/corbaidldynstub.o shared/corbaidlstub.o shared/irstub.o shared/ir.o shared/irdynstub.o shared/Namingdynstub.o shared/boxes.o shared/
pollablestub.o shared/messagingstub.o shared/omniTypedefs.o -L../orbcore/shared -lomniORB4-ar -lomnithread40 -lpthreads
ld: 0711-224 WARNING: Duplicate symbol: ._GLOBAL__DI
ld: 0711-224 WARNING: Duplicate symbol: ._GLOBAL__DD
ld: 0711-224 WARNING: Duplicate symbol: global destructors keyed to 65535_0___dso_handle
ld: 0711-224 WARNING: Duplicate symbol: .__init_aix_libgcc_cxa_atexit
ld: 0711-224 WARNING: Duplicate symbol: .global destructors keyed to 65535_0___dso_handle
ld: 0711-224 WARNING: Duplicate symbol: __dso_handle
ld: 0711-224 WARNING: Duplicate symbol: __init_aix_libgcc_cxa_atexit
ld: 0711-224 WARNING: Duplicate symbol: _GLOBAL__DI
ld: 0711-224 WARNING: Duplicate symbol: _GLOBAL__DD
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: omniCallDescriptor::sd_interceptor_call
ld: 0711-317 ERROR: Undefined symbol: .cdrStream::reserveAndMarshalShort(short)
ld: 0711-317 ERROR: Undefined symbol: .cdrStream::reserveAndMarshalUShort(unsigned short)
ld: 0711-317 ERROR: Undefined symbol: .cdrStream::reserveAndMarshalULong(unsigned int)
ld: 0711-317 ERROR: Undefined symbol: .cdrStream::reserveAndMarshalLong(int)
ld: 0711-317 ERROR: Undefined symbol: .cdrStream::fetchAndUnmarshalULong()
ld: 0711-317 ERROR: Undefined symbol: .cdrStream::fetchAndUnmarshalShort()
ld: 0711-317 ERROR: Undefined symbol: .cdrStream::fetchAndUnmarshalUShort()
ld: 0711-317 ERROR: Undefined symbol: .cdrStream::reserveAndMarshalOctet(unsigned char)
ld: 0711-317 ERROR: Undefined symbol: .cdrStream::reserveAndMarshalLongLong(long)
ld: 0711-317 ERROR: Undefined symbol: .cdrStream::reserveAndMarshalULongLong(unsigned long)
ld: 0711-317 ERROR: Undefined symbol: .cdrStream::fetchAndUnmarshalLongLong()
ld: 0711-317 ERROR: Undefined symbol: .cdrStream::fetchAndUnmarshalOctet()
ld: 0711-317 ERROR: Undefined symbol: .cdrStream::fetchAndUnmarshalLong()
ld: 0711-317 ERROR: Undefined symbol: .cdrStream::fetchAndUnmarshalULongLong()
ld: 0711-317 ERROR: Undefined symbol: .CORBA::Exception::_duplicate(CORBA::Exception const*)
ld: 0711-317 ERROR: Undefined symbol: omni::omniORB_4_2
ld: 0711-317 ERROR: Undefined symbol: omniAsyncCallDescriptor::sd_lock
ld: 0711-317 ERROR: Undefined symbol: typeinfo for CORBA::PolicyError
ld: 0711-317 ERROR: Undefined symbol: .CORBA::PolicyError::operator>>=(cdrStream&) const
ld: 0711-317 ERROR: Undefined symbol: CORBA::PolicyError::insertToAnyFn
ld: 0711-317 ERROR: Undefined symbol: CORBA::PolicyError::insertToAnyFnNCP
ld: 0711-317 ERROR: Undefined symbol: vtable for CORBA::PolicyError
ld: 0711-317 ERROR: Undefined symbol: .CORBA::PolicyError::operator<<=(cdrStream&)
ld: 0711-317 ERROR: Undefined symbol: .omniPolicy::EndPointPublishPolicy::EndPointPublishPolicy(CORBA::StringSeq const&)
ld: 0711-317 ERROR: Undefined symbol: .CORBA::PolicyError::PolicyError(short)
ld: 0711-317 ERROR: Undefined symbol: CORBA::PolicyError::~PolicyError()
ld: 0711-317 ERROR: Undefined symbol: .CORBA::PolicyError::PolicyError(CORBA::PolicyError const&)
ld: 0711-317 ERROR: Undefined symbol: typeinfo for omniAsyncCallDescriptor
ld: 0711-317 ERROR: Undefined symbol: .omniAsyncCallDescriptor::~omniAsyncCallDescriptor()
ld: 0711-317 ERROR: Undefined symbol: .omniObjRef::_invoke_async(omniAsyncCallDescriptor*)
ld: 0711-317 ERROR: Undefined symbol: omniAsyncCallDescriptor::setHandler(omniObjRef*)
ld: 0711-317 ERROR: Undefined symbol: omniAsyncCallDescriptor::getHandler()
collect2: error: ld returned 8 exit status
../../../../../mk/mklib.mk:100: recipe for target 'shared/libomniDynamic421.a' failed
gmake[4]: *** [shared/libomniDynamic421.a] Error 1

-----Original Message-----
From: Duncan Grisby [mailto:duncan at grisby.org]
Sent: Wednesday, April 20, 2016 6:34 AM
To: Spangelo, K. (Kevin)
Cc: 'omniORB-list at omniorb-support.com'
Subject: Re: [omniORB] Problem compiling OmniOrb 4.2.1 under AIX 7.1

On Tue, 2016-04-12 at 22:59 +0000, Spangelo, K. (Kevin) via omniORB-list
wrote:

> I was able to make OmniOrb 4.1.4 compile under AIX 7.1, but I'd like
> to upgrade to the latest version (if possible) for our AIX servers. I
> did try adding the OMNIDYNAMIC_DLL_NAME noted in some of the posts,
> but to no avail.  It seems to be choking on the compile for
> libomniZIOPDynamic421.a

It is missing the linkage with the omniDynamic library. I would expect it to work if you add it to the link specification. The make variable is called OMNIORB_DYNAMIC_DLL_NAME, though, not OMNIDYNAMIC_DLL_NAME, so maybe that's why it didn't work.

Does this patch make it compile?

Index: omniORB/src/lib/omniORB/ziopdynamic/dir.mk
===================================================================
--- omniORB/src/lib/omniORB/ziopdynamic/dir.mk  (revision 6321)
+++ omniORB/src/lib/omniORB/ziopdynamic/dir.mk  (working copy)
@@ -32,7 +32,7 @@
 LIB_VERSION  := $(OMNIORB_VERSION)
 LIB_OBJS     := $(ORB_OBJS)
 LIB_IMPORTS  := $(patsubst %,$(LibPathPattern),../orbcore/shared) \
-                $(OMNIORB_DLL_NAME) \
+                $(OMNIORB_DLL_NAME) $(OMNIORB_DYNAMIC_DLL_NAME) \
                 $(OMNITHREAD_LIB) $(EXTRA_LIBS)  LIB_SHARED_ONLY_OBJS := $(SHARED_ONLY_OBJS)


Duncan.

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




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

NOTICE: The information contained in this electronic mail message is confidential and intended only for certain recipients.  If you are not an intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication and any attachments is strictly prohibited.  If you have received this communication in error, please notify the sender by reply transmission and delete the message without copying or disclosing it.

============================================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20160422/e91745a6/attachment-0001.html>


More information about the omniORB-list mailing list