[omniORB] [OmniORB] Compilation problem

Christian Van Haak ssgs@gmv.es
Mon, 26 Jul 1999 19:50:49 +0200


Hello all,

I have just installed omniORB in a unix machine running Solaris 2.6. I have
configured <OMNIORB_PATH>/mk/unix.mk,
<OMNIORB_PATH>/mk/platforms/sun4_sosV_5.6.mk and
<OMNIORB_PATH>/config/config.mk files but when I'm going to compile all
files, I receive this message:

----------------------------------------------------------------------------
----------------
+ g++ -o omniNames -fhandle-exceptions -Wall -Wno-unused -R
../../../lib/sun4_sosV_5.6 -L../../../lib/sun4_sosV_5.6 omniNames.o
NamingContext_i.o
log.o -lomniORB2 -lomniDynamic2 -lomnithread -lpthread -lposix4 -lsocket -ln
sl -ltcpwrapGK
Undefined                       first referenced
 symbol                             in file
_ex_rethrow
../../../lib/sun4_sosV_5.6/libomniORB2.so
__0oJ__RT_USERctPcPv
../../../lib/sun4_sosV_5.6/libomniORB2.so
__0OnwUi
../../../lib/sun4_sosV_5.6/libomniORB2.so
__0FEendlR6Hostream
../../../lib/sun4_sosV_5.6/libtcpwrapGK.so
__14omni_conditionP10omni_mutex     omniNames.o
_omni_set_NameService__FPQ25CORBA6Object log.o
_vt.Q25CORBA13UserException         NamingContext_i.o
_duplicate__Q29CosNaming13NamingContextPQ29CosNaming13NamingContext
NamingContext_i.o
_ex_throw
../../../lib/sun4_sosV_5.6/libomniORB2.so
_widenFromTheMostDerivedIntf__Q29CosNaming19_sk_BindingIteratorPCcUc
NamingContext_i.o
_ex_chk_unexpected
../../../lib/sun4_sosV_5.6/libomniORB2.so
__0oK__RT_CLASSctPcP6J__RT_BASEPv
../../../lib/sun4_sosV_5.6/libomniORB2.so
_._Q25CORBA13UserException          NamingContext_i.o
__Q29CosNaming17_sk_NamingContextiRC13omniObjectKey NamingContext_i.o
next_n__Q29CosNaming15BindingIteratorUlGt23_CORBA_Sequence_OUT_arg2Zt25_CORB
A_Unbounded_Sequence1ZQ29CosNaming7BindingZt19_CORBA_Sequence_Var2Zt25_CORBA
_Unbounded_Sequence1ZQ29CosNaming7BindingZQ29CosNaming7Binding
NamingContext_i.o
__Q39CosNaming13NamingContext8NotFoundQ39CosNaming13NamingContext14NotFoundR
easonGt25_CORBA_Unbounded_Sequence1ZQ29CosNaming13NameComponent
NamingContext_i.o
dispatch__Q29CosNaming19_sk_BindingIteratorR6GIOP_SPCcUc NamingContext_i.o
_._10omniObject                     NamingContext_i.o
_._Q25CORBA13PERSIST_STORE          log.o
_ex_alloc
../../../lib/sun4_sosV_5.6/libomniORB2.so
__Q29CosNaming15BindingIteratori    NamingContext_i.o
_dispose__Q29CosNaming17_sk_NamingContext NamingContext_i.o
__Q29CosNaming19_sk_BindingIteratori NamingContext_i.o
_ex_keylock
../../../lib/sun4_sosV_5.6/libomniORB2.so
__0oNIostream_initctv
../../../lib/sun4_sosV_5.6/libtcpwrapGK.so
_NP_mostDerivedTypeId__CQ25CORBA9Exception NamingContext_i.o
_._Q25CORBA6Object                  NamingContext_i.o
BOA_init__Q25CORBA3ORBRiPPcPCc      omniNames.o
string_dup__5CORBAPCc               NamingContext_i.o
broadcast__14omni_condition         NamingContext_i.o
generateNewKey__7omniORBR13omniObjectKey NamingContext_i.o
_._Q25CORBA9Exception               NamingContext_i.o
ORB_init__5CORBARiPPcPCc            omniNames.o
NP_is_nil__CQ25CORBA6Object         NamingContext_i.o
_._Q29CosNaming17_sk_NamingContext  NamingContext_i.o
_._14omni_condition                 omniNames.o
_ex_rethrow_q
../../../lib/sun4_sosV_5.6/libomniORB2.so
_pure_error_
../../../lib/sun4_sosV_5.6/libomniORB2.so
__tfQ25CORBA13UserException         NamingContext_i.o
octetSequenceToKey__7omniORBRC32_CORBA_Unbounded_Sequence__Octet log.o
signal__14omni_condition            NamingContext_i.o
__tiQ29CosNaming19_sk_BindingIterator NamingContext_i.o
_ex_skip
../../../lib/sun4_sosV_5.6/libomniORB2.so
_obj_is_ready__Q29CosNaming17_sk_NamingContextPQ25CORBA3BOA
NamingContext_i.o
_CORBA_new_operator_return_null__Fv NamingContext_i.o
_vector_delete_
../../../lib/sun4_sosV_5.6/libomniORB2.so
_._10omni_mutex                     omniNames.o
_._Q29CosNaming13NamingContext      NamingContext_i.o
__0FK__rtbany_fv
../../../lib/sun4_sosV_5.6/libomniORB2.so
release__Q29CosNaming20NamingContext_HelperPQ29CosNaming13NamingContext
NamingContext_i.o
_CORBA_use_nil_ptr_as_nil_objref__Fv NamingContext_i.o
_._Q29CosNaming15BindingIterator    NamingContext_i.o
__tiQ25CORBA13UserException         NamingContext_i.o
__0fNstream_rmutexNrmutex_unlockv
../../../lib/sun4_sosV_5.6/libtcpwrapGK.so
_duplicate__Q25CORBA6ObjectPQ25CORBA6Object NamingContext_i.o
_0RL__next_n__Q29CosNaming19_sk_BindingIteratorUlRPt25_CORBA_Unbounded_Seque
nce1ZQ29CosNaming7Binding NamingContext_i.o
__0oNIostream_initdtv
../../../lib/sun4_sosV_5.6/libtcpwrapGK.so
_dispose__Q29CosNaming19_sk_BindingIterator NamingContext_i.o
__0oJ__RT_BASEctP6J__RT_USERP6J__RT_BASEi65J__RT_BASEHac_modeTD
../../../lib/sun4_sosV_5.6/libomniORB2.so
impl_is_ready__Q25CORBA3BOAPQ25CORBA17ImplementationDefUc omniNames.o
_0RL__next_one__Q29CosNaming19_sk_BindingIteratorRPQ29CosNaming7Binding
NamingContext_i.o
__0OdlPv
../../../lib/sun4_sosV_5.6/libomniORB2.so
self__11omni_thread                 NamingContext_i.o
_narrow__Q29CosNaming13NamingContextPQ25CORBA6Object NamingContext_i.o
_vector_new_
../../../lib/sun4_sosV_5.6/libomniORB2.so
dispatch__Q29CosNaming17_sk_NamingContextR6GIOP_SPCcUc NamingContext_i.o
__10omni_mutex                      omniNames.o
id__11omni_thread                   NamingContext_i.o
_0RL__list__Q29CosNaming17_sk_NamingContextUlRPt25_CORBA_Unbounded_Sequence1
ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator NamingContext_i.o
_ex_clean
../../../lib/sun4_sosV_5.6/libomniORB2.so
unlock__10omni_mutex                omniNames.o
get_time__11omni_threadPUlT1UlUl    omniNames.o
_CORBA_bound_check_error__Fv        NamingContext_i.o
__Q25CORBA9Exception                NamingContext_i.o
_ex_get
../../../lib/sun4_sosV_5.6/libomniORB2.so
_widenFromTheMostDerivedIntf__Q29CosNaming17_sk_NamingContextPCcUc
NamingContext_i.o
_boa__Q29CosNaming17_sk_NamingContext NamingContext_i.o
_._Q29CosNaming19_sk_BindingIterator NamingContext_i.o
lock__10omni_mutex                  omniNames.o
_raise__Q25CORBA9Exception          NamingContext_i.o
_NP_duplicate__CQ25CORBA9Exception  NamingContext_i.o
wait__14omni_condition              NamingContext_i.o
string_free__5CORBAPc               NamingContext_i.o
_nil__Q25CORBA6Object               NamingContext_i.o
NP_release__Q25CORBA6Object         NamingContext_i.o
__0fOunsafe_ostreamGoutstrPCcTB
../../../lib/sun4_sosV_5.6/libtcpwrapGK.so
__tiQ29CosNaming17_sk_NamingContext NamingContext_i.o
_obj_is_ready__Q29CosNaming19_sk_BindingIteratorPQ25CORBA3BOA
NamingContext_i.o
__0FNset_terminatePFv_v
../../../lib/sun4_sosV_5.6/libomniORB2.so
__tfQ29CosNaming17_sk_NamingContext NamingContext_i.o
keyToOctetSequence__7omniORBRC13omniObjectKey log.o
_this__Q29CosNaming17_sk_NamingContext NamingContext_i.o
string_to_object__Q25CORBA3ORBPCc   log.o
__10omniObjectP17omniObjectManager  NamingContext_i.o
__Q25CORBA13PERSIST_STOREUlQ25CORBA16CompletionStatus log.o
object_to_string__Q25CORBA3ORBPQ25CORBA6Object log.o
__tfQ29CosNaming19_sk_BindingIterator NamingContext_i.o
timedwait__14omni_conditionUlUl     omniNames.o
__Q25CORBA6Object                   NamingContext_i.o
_this__Q29CosNaming19_sk_BindingIterator NamingContext_i.o
__Q211omni_thread6init_t            omniNames.o
is_nil__Q29CosNaming20NamingContext_HelperPQ29CosNaming13NamingContext
NamingContext_i.o
_key__Q29CosNaming17_sk_NamingContext log.o
__0fNstream_rmutexLrmutex_lockv
../../../lib/sun4_sosV_5.6/libtcpwrapGK.so
__Q29CosNaming13NamingContexti      NamingContext_i.o
ld: fatal: Symbol referencing errors. No output written to omniNames
make[2]: *** [omniNames] Error 1
make[2]: Leaving directory `/opt/omniORB_2.7.1/src/appl/omniNames'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/opt/omniORB_2.7.1/src/appl'
make: *** [export] Error 2

----------------------------------------------------------------------------
----------------
Anybody knows what is the reason? Which are the necesary libraries to
compile a single application?

Thanks