title: Compiling Modular Boost 1.55.0 with Submodule Application
body: <p>I've cloned the modulare boost git repository (liked described here: <a href="https://svn.boost.org/trac/boost/wiki/TryModBoost" rel="nofollow">description</a>, but not only headers) onto my windows machine (Windows 7 64 bit, using MinGW g++ 4.4.1 but also tried version 4.8.1). I used the following commands:</p>
  
  <pre><code>git config --global core.autocrlf true
  git clone --recursive git@github.com:boostorg/boost.git modular-boost &gt; clone.log
  cd modular-boost
  </code></pre>
  
  <p>Before building it, i added the submodule <a href="https://github.com/retf/Boost.Application" rel="nofollow">boost.application</a> into libs/application:</p>
  
  <pre><code>git submodule add https://github.com/retf/Boost.Application.git libs/application
  </code></pre>
  
  <p>After inserting the submodule, building it:</p>
  
  <pre><code>.\bootstrap gcc
  .\b2 --layout=tagged link=shared variant=debug threading=multi toolset=gcc
  </code></pre>
  
  <ol>
  <li>Some libraries didn't compile (like boost log). Did I miss here something?</li>
  <li><p>I tried to work with the existing compiled libraries (mainly I am using System, Thread, Prg_Exec_Monitor, Unit Tests and Program Options), but I always get an error in <code>boost/asio/detail/impl/socket_ops.ipp</code>:</p>
  
  <pre><code>error: 'SO_UPDATE_CONNECT_CONTEXT' was not declared in this scope
  </code></pre>
  
  <p>Here is an example code, where this error occurs:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;boost/application.hpp&gt;
  
  using namespace std;
  
  int main()
  {
      cout &lt;&lt; "SO_Question_Test" &lt;&lt; endl;
      return 0;
  }
  </code></pre>
  
  <p><code>_WIN32_WINNT</code> is set to <code>0x0601</code> (Windows 7).</p></li>
  </ol>