Discussion:
[omniORB] linking cygomniZIOPDynamic4.dll.2 failed - "undefinedreference to"
szyk100
2014-10-08 17:10:02 UTC
Permalink
Hello
Thank you for your reply!
I have litle progres. Some errors gone but remain others. Now I get following errors:
+ rm -f shared/cygomniZIOPDynamic4.dll.2.0
+ g++ -shared -Wl,-soname=cygomniZIOPDynamic4.dll.2,--out-implib=libomniZIOPDyna
mic4.dll.a,--export-dynamic,--enable-auto-import -o shared/cygomniZIOPDynamic4.d
ll.2.0 -L../../../../lib -L../../../../lib shared/omniZIOPDynamic.o shared/compr
essionDynStubs.o shared/ziopDynStubs.o -L../orbcore/shared -lomniORB4 -lomniDyna
mic4 -lomnithread -lpthread
/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-symbol
s?
shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0x44): undefined reference to
?`omniZIOP::create_compression_min_ratio_policy(float)'
shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0x6f): undefined reference to
?`omniZIOP::create_compression_low_value_policy(unsigned long)'
shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0xa4): undefined reference to
?`omniZIOP::create_compression_enabling_policy(bool)'
shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0xde): undefined reference to
?`omniZIOP::create_compression_id_level_list_policy(Compression::CompressorIdLev
elList const&)'
shared/compressionDynStubs.o:compressionDynStubs.cc:(.text+0xaa): undefined refe
rence to `Compression::FactoryAlreadyRegistered::insertToAnyFn'
[[[more errors]]]
I would apreciate any help. Because (obviously) I have no idea what to do with that errors.
regards
Szyk Cech
Dnia 7 pa?dziernika 2014 17:09 Duncan Grisby< duncan at grisby.org> napisa?(a):
On Sat, 2014-10-04 at 16:29 +0200, szyk100 wrote:
> I try build Omniorb with Cygwin32 but I have strange linker error. Few first lines of this error are as follow:
>
> + rm -f shared/cygomniZIOPDynamic4.dll.2.0
> + 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
>/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?
> shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0x35): undefined reference to `CORBA::Any::operator>>=(float&) const'
Does it work if you edit src/lib/omniORB/ziopdynamic/dir.mk to so where
it sets LIB_IMPORTS it says:
LIB_IMPORTS := $(patsubst %,$(LibPathPattern),../orbcore/shared) \
$(OMNIORB_DLL_NAME) $(OMNIORB_DYNAMIC_DLL_NAME) \
$(OMNITHREAD_LIB) $(EXTRA_LIBS)
i.e. add the $(OMNIORB_DYNAMIC_DLL_NAME) to it.
Duncan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20141008/5a58e0a7/attachment.html>
szyk100
2014-10-08 17:18:04 UTC
Permalink
Hello
Thank you for your reply!
I have litle progres. Some errors gone but remain others. Now I get following errors:
+ rm -f shared/cygomniZIOPDynamic4.dll.2.0
+ g++ -shared -Wl,-soname=cygomniZIOPDynamic4.dll.2,--out-implib=libomniZIOPDyna
mic4.dll.a,--export-dynamic,--enable-auto-import -o shared/cygomniZIOPDynamic4.d
ll.2.0 -L../../../../lib -L../../../../lib shared/omniZIOPDynamic.o shared/compr
essionDynStubs.o shared/ziopDynStubs.o -L../orbcore/shared -lomniORB4 -lomniDyna
mic4 -lomnithread -lpthread
/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-symbol
s?
shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0x44): undefined reference to
?`omniZIOP::create_compression_min_ratio_policy(float)'
shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0x6f): undefined reference to
?`omniZIOP::create_compression_low_value_policy(unsigned long)'
shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0xa4): undefined reference to
?`omniZIOP::create_compression_enabling_policy(bool)'
shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0xde): undefined reference to
?`omniZIOP::create_compression_id_level_list_policy(Compression::CompressorIdLev
elList const&amp;)'
shared/compressionDynStubs.o:compressionDynStubs.cc:(.text+0xaa): undefined refe
rence to `Compression::FactoryAlreadyRegistered::insertToAnyFn'
[[[more errors]]]
I would apreciate any help. Because (obviously) I have no idea what to do with that errors.
regards
Szyk Cech
Dnia 7 pa?dziernika 2014 17:09 Duncan Grisby &lt;duncan at grisby.org&gt; napisa?(a):
On Sat, 2014-10-04 at 16:29 +0200, szyk100 wrote:
&gt; I try build Omniorb with Cygwin32 but I have strange linker error. Few first lines of this error are as follow:
&gt;
&gt; + rm -f shared/cygomniZIOPDynamic4.dll.2.0
&gt; + 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
&gt; /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?
&gt; shared/omniZIOPDynamic.o:omniZIOPDynamic.cc:(.text+0x35): undefined reference to `CORBA::Any::operator&gt;&gt;=(float&amp;) const'
Does it work if you edit src/lib/omniORB/ziopdynamic/dir.mk to so where
it sets LIB_IMPORTS it says:
LIB_IMPORTS := $(patsubst %,$(LibPathPattern),../orbcore/shared) \
$(OMNIORB_DLL_NAME) $(OMNIORB_DYNAMIC_DLL_NAME) \
$(OMNITHREAD_LIB) $(EXTRA_LIBS)
i.e. add the $(OMNIORB_DYNAMIC_DLL_NAME) to it.
Duncan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20141008/47061f5b/attachment.html>
Loading...