[omniORB] Problem compiling OmniOrb 4.2.1 under AIX 7.1

Duncan Grisby duncan at grisby.org
Wed Apr 20 12:33:31 BST 2016


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     --
   -- http://www.grisby.org --





More information about the omniORB-list mailing list