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

Johnny Willemsen jwillemsen at remedy.nl
Thu Apr 26 15:35:28 BST 2018


Hi,

I can really recommend a migration to git, for example hosted on github,
together with CI like travis and appveyor this kind of patches are much
easier to integrate, we are using that for TAO now some time and it
works very good.

Johnny

On 04/26/2018 04:28 PM, Peter Klotz via omniORB-list wrote:
> 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.
>
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20180426/dbde3e89/attachment.html>


More information about the omniORB-list mailing list