<div id="mailbox-headers-inner-print">Hello<br />Thank you for your reply!<br />I have litle progres. Some errors gone but remain others. Now I get following errors:<br /><br />+ rm -f shared/cygomniZIOPDynamic4.dll.2.0<br />+ g++ -shared -Wl,-soname=cygomniZIOPDynamic4.dll.2,--out-implib=libomniZIOPDyna<br />mic4.dll.a,--export-dynamic,--enable-auto-import -o shared/cygomniZIOPDynamic4.d<br />ll.2.0 -L../../../../lib -L../../../../lib shared/omniZIOPDynamic.o shared/compr<br />essionDynStubs.o shared/ziopDynStubs.o -L../orbcore/shared -lomniORB4 -lomniDyna<br />mic4 -lomnithread -lpthread<br />/usr/lib/gcc/i686-pc-cygwin/4.8.3/../../../../i686-pc-cygwin/bin/ld: warning: --<br />export-dynamic is not supported for PE targets, did you mean --export-all-symbol<br />s?<br />shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0x44): undefined reference to<br /> `omniZIOP::create_compression_min_ratio_policy(float)'<br />shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0x6f): undefined reference to<br /> `omniZIOP::create_compression_low_value_policy(unsigned long)'<br />shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0xa4): undefined reference to<br /> `omniZIOP::create_compression_enabling_policy(bool)'<br />shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0xde): undefined reference to<br /> `omniZIOP::create_compression_id_level_list_policy(Compression::CompressorIdLev<br />elList const&)'<br />shared/compressionDynStubs.o:compressionDynStubs.cc:(.text+0xaa): undefined refe<br />rence to `Compression::FactoryAlreadyRegistered::insertToAnyFn'<br />[[[more errors]]]<br /><br />I would apreciate any help. Because (obviously) I have no idea what to do with that errors.<br /><br /><br />regards<br />Szyk Cech<br /><br /><br /><br />Dnia 7 października 2014 17:09 Duncan Grisby< duncan@grisby.org> napisał(a):<br /><br /></div>
<div id="msg">
<div id="msg-body">
<blockquote style="padding-left: 1em; font-size: 12px; margin-bottom: 0px; margin-left: 1em; border-left-color: #cccccc; border-left-width: 2px; border-left-style: solid;">On Sat, 2014-10-04 at 16:29 +0200, szyk100 wrote:<br /><br />> I try build Omniorb with Cygwin32 but I have strange linker error. Few first lines of this error are as follow:<br />><br />> + rm -f shared/cygomniZIOPDynamic4.dll.2.0<br />> + g++ -shared -Wl,-soname=cygomniZIOPDynamic4.dll.2,--out-implib=libomniZIOPDynamic4.dll.a,--export-dynamic,--enable-auto-import -o shared/cygomniZIOPDynamic4.dll.2.0 -L../../../../lib -L../../../../lib shared/omniZIOPDynamic.o shared/compressionDynStubs.o shared/ziopDynStubs.o -L../orbcore/shared -lomniORB4 -lomnithread -lpthread<br />>/usr/lib/gcc/i686-pc-cygwin/4.8.3/../../../../i686-pc-cygwin/bin/ld: warning: --export-dynamic is not supported for PE targets, did you mean --export-all-symbols?<br />> shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0x35): undefined reference to `CORBA::Any::operator>>=(float&) const'<br /><br />Does it work if you edit src/lib/omniORB/ziopdynamic/dir.mk to so where<br />it sets LIB_IMPORTS it says:<br /><br />LIB_IMPORTS := $(patsubst %,$(LibPathPattern),../orbcore/shared) \<br />$(OMNIORB_DLL_NAME) $(OMNIORB_DYNAMIC_DLL_NAME) \<br />$(OMNITHREAD_LIB) $(EXTRA_LIBS)<br /><br /><br />i.e. add the $(OMNIORB_DYNAMIC_DLL_NAME) to it.<br /><br />Duncan.<br /><br /></blockquote>
<br /><br /></div>
</div>