[omniORB] Linking in a .so file into omniORB_280

Duncan Grisby dgrisby@uk.research.att.com
Tue, 15 Feb 2000 15:43:13 +0000


On Friday 11 February, Fred Cook wrote:

> PROC_LIB := Proc.so

[...]

> $(COS): COS.o COSServerImpl.o COSServerSK.o AmendThread.o CloseThread.o
> CreateMessageThread.o GetMessageDetailsThread.o ReAssignThread.o \
> $(CORBA_STUB_OBJS) $(CORBA_LIB_DEPEND)
> 		@(libs=3D"$(CORBA_LIB) $(PROC_LIB)";$(CXXExecutable))

> This make file generates the linker error "Undefined reference to=85" IE
> it is trying to link in at compile time, a reference to a function that
> resides in the shared object.  How do we tell it to link at run time?

You should say

PROC_LIB = -lProc

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --