<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Fails because COS423_rt.lib doesn't exist with mingw, probably an output of a Visual Studio compile.</p>
<p>Resolved by referencing with standard gcc -l syntax.</p>
<p>The error is:<br>
</p>
<p>+ /usr/bin/i686-w64-mingw32-g++ -shared -mthreads -Wl,-export-all -Wl,--dll -oshared/COSDynamic423_rt.dll -Wl,--out-implib,shared/libCOSDynamic423_rt.a -Wl,--output-def,shared/COSDynamic4.def -Wl,--enable-runtime-pseudo-reloc -L../../../../lib/x86_win32
shared/TimeBaseDynSK.o shared/CosTimeDynSK.o shared/CosEventCommDynSK.o shared/CosEventChannelAdminDynSK.o shared/CosNotificationDynSK.o shared/CosNotifyCommDynSK.o shared/CosNotifyFilterDynSK.o shared/CosNotifyChannelAdminDynSK.o shared/CosLifeCycleDynSK.o
COS423_rt.lib -lomniORB423_rt -lomniDynamic423_rt -lomnithread41_rt -lws2_32 -lmswsock -ladvapi32<br>
i686-w64-mingw32-g++: error: COS423_rt.lib: No such file or directory<br>
make[3]: *** [dir.mk:89: shared/libCOSDynamic423_rt.a] Error 1<br>
</p>
<p>COS423_rt is built here:<br>
</p>
<p>+ rm -f shareddebug/libCOS423_rtd.a<br>
+ /usr/bin/i686-w64-mingw32-g++ -shared -mthreads -Wl,-export-all -Wl,--dll -oshareddebug/COS423_rtd.dll -Wl,--out-implib,shareddebug/libCOS423_rtd.a -Wl,--output-def,shareddebug/COS4d.def -Wl,--enable-runtime-pseudo-reloc -L../../../../lib/x86_win32 shareddebug/TimeBaseSK.o
shareddebug/CosTimeSK.o shareddebug/CosEventCommSK.o shareddebug/CosEventChannelAdminSK.o shareddebug/CosNotificationSK.o shareddebug/CosNotifyCommSK.o shareddebug/CosNotifyFilterSK.o shareddebug/CosNotifyChannelAdminSK.o shareddebug/CosLifeCycleSK.o -lomniORB423_rtd
-lomniDynamic423_rtd -lomnithread41_rtd -lws2_32 -lmswsock -ladvapi32<br>
+ install -c debug/libCOS4d.a ../../../../lib/x86_win32<br>
+ install -c shareddebug/libCOS423_rtd.a ../../../../lib/x86_win32<br>
+ install -c shareddebug/COS423_rtd.dll ../../../../bin/x86_win32<br>
make[3]: Leaving directory '/misc/download/omniORB-4.2.3/src/services/mklib/stublib'<br>
</p>
<p>Resolved by changing src/services/mklib/dynstublib/dir.mk:</p>
<div style="font-family: "Lucida Console"; font-size:
8.0pt; color: #ffffff;background-color: #000000; font-style:
normal; font-weight: normal; text-decoration: none;">
<pre><span style="color:#bf0000;">dynimps</span><span> </span><span>:</span><span style="color:#009fff;">=</span><span> </span><span style="color:#009fff;">$</span><span>(</span><span style="color:#bf0000;">patsubst</span><span> </span><span style="color:#009fff;">$</span><span>(</span><span style="color:#bf0000;">DLLDebugSearchPattern</span><span>)</span><span style="color:#009fff;">,$</span><span>(</span><span style="color:#bf0000;">DLLNoDebugSearchPattern</span><span>)</span><span style="color:#009fff;">,</span><span> </span><span style="color:#009fff;">$</span><span>(</span><span style="color:#bf0000;">OMNIORB_LIB</span><span>)</span><span> \</span>
<span> </span><span style="color:#009fff;">-</span><span style="color:#bf0000;">lCOS</span><span style="color:#009fff;">$</span><span>(</span><span style="color:#bf0000;">OMNIORB_MAJOR_VERSION</span><span>)</span><span style="color:#009fff;">$</span><span>(</span><span style="color:#bf0000;">OMNIORB_MINOR_VERSION</span><span>)</span><span style="color:#009fff;">$</span><span>(</span><span style="color:#bf0000;">OMNIORB_MICRO_VERSION</span><span>)</span><span>_</span><span style="color:#bf0000;">rt</span><span>)</span>
</pre>
</div>
<div style="font-family: "Lucida Console"; font-size:
8.0pt; color: #ffffff;background-color: #000000; font-style:
normal; font-weight: normal; text-decoration: none;">
<pre><span style="color:#bf0000;">dbugimps</span><span> </span><span>:</span><span style="color:#009fff;">=</span><span> </span><span style="color:#009fff;">$</span><span>(</span><span style="color:#bf0000;">patsubst</span><span> </span><span style="color:#009fff;">$</span><span>(</span><span style="color:#bf0000;">DLLNoDebugSearchPattern</span><span>)</span><span style="color:#009fff;">,$</span><span>(</span><span style="color:#bf0000;">DLLDebugSearchPattern</span><span>)</span><span style="color:#009fff;">,</span><span> </span><span style="color:#009fff;">$</span><span>(</span><span style="color:#bf0000;">OMNIORB_LIB</span><span>)</span><span> \</span>
<span> </span><span style="color:#009fff;">-</span><span style="color:#bf0000;">lCOS</span><span style="color:#009fff;">$</span><span>(</span><span style="color:#bf0000;">OMNIORB_MAJOR_VERSION</span><span>)</span><span style="color:#009fff;">$</span><span>(</span><span style="color:#bf0000;">OMNIORB_MINOR_VERSION</span><span>)</span><span style="color:#009fff;">$</span><span>(</span><span style="color:#bf0000;">OMNIORB_MICRO_VERSION</span><span>)</span><span>_</span><span style="color:#bf0000;">rtd</span><span>)</span>
</pre>
</div>
<p></p>
</body>
</html>