[omniNotify] omniORB 4.0.1, omniNotify 2.0 alpha, and AIX
Mark Zimmerman
markzimm@frii.com
Thu Mar 13 21:32:01 2003
--Q68bSM7Ycu6FN28Q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Greetings:
OK, let's try this again _with_ the attachment...
I am trying to compile omniNotify 2.0 alpha with omniORB 4.0.1 on an
AIX machine. There are some problems with library dependencies that
the attached patch seems to work around. I am sure that this is not
the correct answer to the problem but it may be of informational
value.
The problems occur when linking libAttNotificationDynamic4.a.0 and
libCOSDynamic4.a.0. Both have a multitude of unresolved externals that
are resolved by adding a library to the link. This is not necessary
under Solaris or Linux.
Also, in both cases the following linker warnings are reported:
ld: 0711-415 WARNING: Symbol __cdtors is already exported.
ld: 0711-415 WARNING: Symbol __priority0x80000028 is already exported.
-- Mark
--Q68bSM7Ycu6FN28Q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="omniNotify-aix.patch"
Index: lib/dir.mk
===================================================================
RCS file: /home/cvsroot/omniNotify/lib/dir.mk,v
retrieving revision 1.32.4.1
diff -u -r1.32.4.1 dir.mk
--- lib/dir.mk 21 May 2002 13:27:00 -0000 1.32.4.1
+++ lib/dir.mk 13 Mar 2003 19:42:20 -0000
@@ -93,7 +93,7 @@
mkshared:: $(skshared)
$(skshared): $(patsubst %, shared/%, $(NFYLIB_OBJS))
- @(namespec="$(sknamespec)" extralibs="$(OMNIORB_LIB) $(COS_LIB)"; \
+ @(namespec="$(sknamespec)" extralibs="$(OMNIORB_LIB) $(COS_LIB) -lAttNotification40"; \
$(MakeCXXSharedLibrary))
export:: $(skshared)
Index: mkattlib/dir.mk
===================================================================
RCS file: /home/cvsroot/omniNotify/mkattlib/dir.mk,v
retrieving revision 1.1.10.2
diff -u -r1.1.10.2 dir.mk
--- mkattlib/dir.mk 21 May 2002 20:40:25 -0000 1.1.10.2
+++ mkattlib/dir.mk 13 Mar 2003 19:42:20 -0000
@@ -89,7 +89,7 @@
imps := $(patsubst $(DLLDebugSearchPattern),$(DLLNoDebugSearchPattern), \
$(OMNIORB_LIB))
else
-imps := $(OMNIORB_LIB)
+imps := $(OMNIORB_LIB) -lCOSDynamic40
endif
--Q68bSM7Ycu6FN28Q--