[omniORB] Linking of ZIOPDynamic DLL fails under Windows with VS2017

Peter Klotz Peter.Klotz at ith-icoserve.com
Thu Apr 26 15:28:06 BST 2018


Hi

I have already sent the attached patch earlier but got no response (and it was not integrated into upstream either). So I try again :-)


When compiling omniORB 4.2.2 under Windows using VS2017 a linker error occurs during linking of omniZIOPDynamic422_rt.dll and omniZIOPDynamic422_rtd.dll.

However the build continues and so just the DLLs are missing at the end. You of course have to enable ZIOP and zlib support to trigger the problem.

The linker complains about 56 missing symbols:

+ set -x
+ rm -f shared/omniZIOPDynamic422_rt.lib
+ ../../../../bin/x86_win32/linkwrapper -gnuwin32 -out:shared/omniZIOPDynamic422_rt.dll -DLL ...
shared\omniZIOPDynamic4.def(1) : warning LNK4093: Drive/Directory component ignored in 'LIBRARY' statement
   Creating library shared/omniZIOPDynamic422_rt.lib and object shared/omniZIOPDynamic422_rt.exp
omniZIOPDynamic.o : error LNK2019: unresolved external symbol "class ZIOP::CompressionEnablingPolicy * ...
omniZIOPDynamic.o : error LNK2019: unresolved external symbol "class ZIOP::CompressionIdLevelListPolicy * ...
omniZIOPDynamic.o : error LNK2019: unresolved external symbol "class ZIOP::CompressionLowValuePolicy * ...
omniZIOPDynamic.o : error LNK2019: unresolved external symbol "class ZIOP::CompressionMinRatioPolicy * ...
compressionDynStubs.o : error LNK2019: unresolved external symbol "public: __thiscall Compression::CompressionException...
compressionDynStubs.o : error LNK2019: unresolved external symbol "public: virtual __thiscall Compression::CompressionException...
compressionDynStubs.o : error LNK2001: unresolved external symbol "public: virtual void __thiscall Compression::CompressionException...
...
shared\omniZIOPDynamic422_rt.dll : fatal error LNK1120: 56 unresolved externals


Regards, Peter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: omniORB-4.2.2-ZIOPDynamic.patch
Type: application/octet-stream
Size: 709 bytes
Desc: omniORB-4.2.2-ZIOPDynamic.patch
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20180426/1d25bbf4/attachment.obj>


More information about the omniORB-list mailing list