[omniORB] echo example (OmniORB 2.7.1 on IRIX64 6.5)
Masayuki Matsumoto
matumot@dst.nk-exa.co.jp
Thu, 15 Jul 1999 10:53:44 +0900
Hello,
I use omniORB 2.6.1/2.7.1 on IRIX 6.3/6.4/6.5(6.5.2m & 6.5.4).
They work fine on any IRIX platforms including
Echo examples(eg1, eg2, and eg3).
I applied the attached patch to the mk/platforms/mips_irix_6.5_n32.mk
file.
|> I have a newbie question :^). I installed release
|> 2.7.1, telling it to use platform "mips_irix_6.5_n32",
|> on an SGI running IRIX64 6.5. Everything seems to work
|> fine during the install. I hacked the makefiles to
|> make -lpthread the last library in the chain.
|>
|> I then tried to run the echo example. 'eg1' prints its
|> little "hello" message but then never returns.
|>
|> 'eg2_impl' spits out an IOR, which I provide as an
|> argument to 'eg2_clt', but the client never finds the
|> server. After a long time it comes back with a "caught
|> system exception COMM FAILURE, unable to contact the
|> object" message.
|>
|> 'eg3_tieimpl.cc' doesn't compile. The first error
|> message complains that identifier "_tie_Echo" is
|> undefined.
|>
|> Should I expect this stuff to work properly in my
|> environment? Do I need omniorb 2.8.0 for 64-bit land?
|> Or did I just pick the wrong example to experiment
|> with?
|>
|> David McNab
|> mcnab@nas.nasa.gov
-------------------- 8< ---------------------
*** mips_irix_6.5_n32.mk.orig Mon May 17 17:46:47 1999
--- mips_irix_6.5_n32.mk Mon May 17 17:48:25 1999
***************
*** 53,59 ****
# OMNI thread stuff
#
! Posix_OMNITHREAD_LIB = $(patsubst %,$(LibSearchPattern),omnithread) -lpthread
Posix_OMNITHREAD_CPPFLAGS = -DUsePthread -D_REENTRANT
OMNITHREAD_POSIX_CPPFLAGS = -DPthreadDraftVersion=10 \
-DPthreadSupportThreadPriority
--- 53,59 ----
# OMNI thread stuff
#
! Posix_OMNITHREAD_LIB = $(patsubst %,$(LibSearchPattern),omnithread)
Posix_OMNITHREAD_CPPFLAGS = -DUsePthread -D_REENTRANT
OMNITHREAD_POSIX_CPPFLAGS = -DPthreadDraftVersion=10 \
-DPthreadSupportThreadPriority
***************
*** 78,84 ****
# One solution is to repeat -lomniORB2 after -ltcpwrapGK.
# The following line do just that:
OMNIORB2_LIB += $(patsubst %,$(LibSearchPattern),omniORB2) \
! $(patsubst %,$(LibSearchPattern),omnithread)
# Default location of the omniORB2 configuration file [falls back to this if
--- 78,84 ----
# One solution is to repeat -lomniORB2 after -ltcpwrapGK.
# The following line do just that:
OMNIORB2_LIB += $(patsubst %,$(LibSearchPattern),omniORB2) \
! $(patsubst %,$(LibSearchPattern),omnithread) -lpthread
# Default location of the omniORB2 configuration file [falls back to this if
-------------------- 8< ---------------------