<div>Hi David,</div>
<div>�</div>
<div>I downgraded my libtool version to 2.2.7a and got it to work!� I also added $vsdir/VC/PlatformSDK/Lib to the LIB in build-ms.sh as my ws2_32.lib file is found there.</div>
<div>�</div>
<div>Thanks for all your help.</div>
<div>�</div>
<div>Vincent<br><br></div>
<div class="gmail_quote">On Thu, Nov 11, 2010 at 6:51 PM, David Wragg <span dir="ltr">&lt;<a href="mailto:david@rabbitmq.com">david@rabbitmq.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">Vincent Cheong &lt;<a href="mailto:vincentcheongst@gmail.com">vincentcheongst@gmail.com</a>&gt; writes:<br></div>
<div class="im">&gt; I did not get install mingw using the install script. It is a pretty up to<br>&gt; date version (libs and compilers) that I have been using all along. I&#39;ve<br>&gt; checked my PATH there&#39;s only one mingw/bin.<br>
<br></div>Ah, I see. �I&#39;m afraid that the easiest way forward for you will be to<br>do a second temporary install of mingw using the script - you can delete<br>it as soon as the build has worked :-)<br><br>&gt; [...]<br>

<div class="im">&gt;<br>&gt; I&#39;ve been looking at error statement again.<br>&gt; cl : Command line error D8021 : invalid numeric argument &#39;/Wl,-DLL&#39;<br>&gt; the cl command seems to be expecting a numeral after /W. Could the cl option<br>
&gt; be /W1 or /WL instead or /Wl?<br><br></div>-Wl,-DLL is a gcc option, and cl.exe generally has a completely<br>different option syntax. �Why libtool is passing that option to cl.exe,<br>I don&#39;t know. �libtool&#39;s support for the MS toolchain seems to be quite<br>
weak, and I was only able to get 2.2.7a to work by patching its output.<br>I wouldn&#39;t be surprised if later versions break that support completely.<br>So at the moment, you really need 2.2.7a.<br><br>I don&#39;t know if there will be such strict dependencies on the other<br>
required mingw/msys packages. �You might be able to make it work just by<br>changing your version of libtool, but I&#39;m not sure.<br><br>Thanks for bringing this to my attention, I will clarify the build<br>instructions.<br>

<div>
<div></div>
<div class="h5"><br>David<br><br>--<br>David Wragg<br>Staff Engineer, RabbitMQ<br>SpringSource, a division of VMware<br></div></div></blockquote></div><br>