[omniORB] link error

Cai Yu caiyu@126.com
Tue, 01 Dec 1998 11:09:55 +0100


Hi:

I am new for Omniorb & CORBA , I use omniorb 2.61 on Sun Sparc 5 with
gcc 2.7.2 . and get link error like below . and I can't find any
solution from archie . can you tell me how to solve this problem ?

I have set the LD_LIBRARY_PATH and started the omniNames 

$gmake
+ rm -f diner 
+ g++ -o diner -fhandle-exceptions -Wall -Wno-unused -R
../../../lib/sun4_sosV_5.5 -L../../../lib/sun4_sosV_5.5 diner.o
-lomnithread -lpthread -lposix4 
Undefined			first referenced
 symbol  			    in file
run_undetached__11omni_threadPv     diner.o
__0oJ__RT_USERctPcPv               
../../../lib/sun4_sosV_5.5/libomnithread.so
__0OnwUi                           
../../../lib/sun4_sosV_5.5/libomnithread.so
__14omni_conditionP10omni_mutex     diner.o
_ex_throw                          
../../../lib/sun4_sosV_5.5/libomnithread.so
_ex_alloc                          
../../../lib/sun4_sosV_5.5/libomnithread.so
start__11omni_thread                diner.o
_ex_keylock                        
../../../lib/sun4_sosV_5.5/libomnithread.so
_._14omni_condition                 diner.o
_ex_rethrow_q                      
../../../lib/sun4_sosV_5.5/libomnithread.so
signal__14omni_condition            diner.o
_._10omni_mutex                     diner.o
__0OdlPv                           
../../../lib/sun4_sosV_5.5/libomnithread.so
__10omni_mutex                      diner.o
unlock__10omni_mutex                diner.o
_._11omni_thread                    diner.o
lock__10omni_mutex                  diner.o
sleep__11omni_threadUlUl            diner.o
wait__14omni_condition              diner.o
__11omni_threadPvQ211omni_thread10priority_t diner.o
__Q211omni_thread6init_t            diner.o
ld: fatal: Symbol referencing errors. No output written to diner
make: *** [diner] Error 1


Regards/Cai