[omniORB] static library
Duncan Grisby
duncan at grisby.org
Fri Mar 7 10:12:26 GMT 2008
On Tuesday 4 March, tristan wrote:
> I've built an application using omniORB and while I'm generating dynamic ELF
> everything is working fine.
> The problem is when I generate a static binary for i386 cpu : there is a
> SIGSEGV in function ORB_init.
The problem is probably that the linker has removed some things that
have static initialisers. It thinks they are not used, when actually
they are. The strange thing is that there is already code that tries to
force linkage of the necessary things.
Try editing include/omniORB4/CORBA_sysdep.h to define
OMNI_NEED_STATIC_FUNC_TO_FORCE_LINK for your platform.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list