title: Openssl in windows issue
body: <p>While I try to create lib files for windows.The following error came.
  Please help on this issue.</p>
  
  <p><strong>CODE Explanation</strong></p>
  
  <p>This Line I actually typed in visual studio command prompt.This will create the obj and dll files for OpenSSL.</p>
  
  <pre><code>   X:\dev\openssl&gt;nmake -f ms\ntdll.mak
  </code></pre>
  
  <p>It start executing make files to get the lib and obj files.</p>
  
  <pre><code>   Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
     Copyright (C) Microsoft Corporation. All rights reserved.
  
     Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86
  
     Copyright (C) Microsoft Corporation. All rights reserved.
  
     Building OpenSSL
      cl /Fotmp32dll\err_all.obj -Iinc32 -Itmp32dll /MD /Ox /O2 /Ob2 -O -  DOPENSSL_USE_APPLINK -I. -DOPENSSL_NO_RC5 -DOPENSSL_NO_MD2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_JPAKE -DOPENSSL_NO_STATIC_ENGINE /I "C:\Program Files\Microsoft    SDKs\Windows\v6.0\Include" /I "C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\INCLUDE" /Zi   /Fdtmp32dll/lib -D_WINDLL -DOPENSSL_BUILD_SHLIBCRYPTO -c .\crypto\err\err_all.c
  </code></pre>
  
  <p>The Error is throwing in this file only.When it tries to include this file ocsp.h.</p>
  
  <pre><code>    err_all.c
      X:\dev\openssl\inc32\openssl/ocsp.h(157) : error C2059: syntax error : 'type'
      X:\dev\openssl\inc32\openssl/ocsp.h(206) : error C2016: C requires that a struct or union has at least one member
      X:\dev\openssl\inc32\openssl/ocsp.h(206) : error C2059: syntax error : '('
       X:\dev\openssl\inc32\openssl/ocsp.h(208) : error C2059: syntax error : '}'
      X:\dev\openssl\inc32\openssl/ocsp.h(209) : error C2059: syntax error : '}'
       X:\dev\openssl\inc32\openssl/ocsp.h(350) : error C2016: C requires that a struct or union has at least one member
      X:\dev\openssl\inc32\openssl/ocsp.h(350) : error C2059: syntax error : '('
      X:\dev\openssl\inc32\openssl/ocsp.h(352) : error C2059: syntax error : '}'
      X:\dev\openssl\inc32\openssl/ocsp.h(404) : error C2059: syntax error : 'type'
      X:\dev\openssl\inc32\openssl/ocsp.h(405) : error C2059: syntax error : ','
         X:\dev\openssl\inc32\openssl/ocsp.h(405) : error C2143: syntax error : missing     ')' before '('
      X:\dev\openssl\inc32\openssl/ocsp.h(405) : error C2143: syntax error : missing ')' before '('
      X:\dev\openssl\inc32\openssl/ocsp.h(405) : error C2091: function returns function
       X:\dev\openssl\inc32\openssl/ocsp.h(405) : error C2091: function returns function
       X:\dev\openssl\inc32\openssl/ocsp.h(405) : error C2143: syntax error : missing '{'        before 'constant'
       X:\dev\openssl\inc32\openssl/ocsp.h(405) : error C2059: syntax error : '&lt;Unknown&gt;'
      X:\dev\openssl\inc32\openssl/ocsp.h(405) : error C2059: syntax error : ')'
        X:\dev\openssl\inc32\openssl/ocsp.h(406) : error C2059: syntax error : ')'
      X:\dev\openssl\inc32\openssl/ocsp.h(407) : error C2143: syntax error : missing ')'         before '('
          X:\dev\openssl\inc32\openssl/ocsp.h(407) : error C2143: syntax error : missing ')' before '('
      X:\dev\openssl\inc32\openssl/ocsp.h(407) : error C2091: function returns function
      X:\dev\openssl\inc32\openssl/ocsp.h(407) : error C2091: function returns function
      X:\dev\openssl\inc32\openssl/ocsp.h(407) : error C2143: syntax error : missing '{' before 'constant'
      X:\dev\openssl\inc32\openssl/ocsp.h(407) : error C2059: syntax error : '&lt;Unknown&gt;'
        X:\dev\openssl\inc32\openssl/ocsp.h(407) : error C2059: syntax error : ')'
      X:\dev\openssl\inc32\openssl/ocsp.h(407) : error C2059: syntax error : ')'
     X:\dev\openssl\inc32\openssl/ocsp.h(409) : error C2059: syntax error : ','
     X:\dev\openssl\inc32\openssl/ocsp.h(409) : error C2143: syntax error : missing ')' before '('
     X:\dev\openssl\inc32\openssl/ocsp.h(409) : error C2143: syntax error : missing ')' before '('
     X:\dev\openssl\inc32\openssl/ocsp.h(409) : error C2091: function returns function
      X:\dev\openssl\inc32\openssl/ocsp.h(409) : error C2091: function returns function
        X:\dev\openssl\inc32\openssl/ocsp.h(409) : error C2143: syntax error : missing   '{' before 'constant'
       X:\dev\openssl\inc32\openssl/ocsp.h(409) : error C2059: syntax error : '&lt;Unknown&gt;'
    X:\dev\openssl\inc32\openssl/ocsp.h(409) : error C2059: syntax error : ')'
    X:\dev\openssl\inc32\openssl/ocsp.h(409) : error C2059: syntax error : ')'
     X:\dev\openssl\inc32\openssl/ocsp.h(416) : error C2059: syntax error : ','
    X:\dev\openssl\inc32\openssl/ocsp.h(416) : error C2143: syntax error : missing ')' before '('
      X:\dev\openssl\inc32\openssl/ocsp.h(416) : error C2143: syntax error : missing ')' before '('
      X:\dev\openssl\inc32\openssl/ocsp.h(416) : error C2091: function returns function
     X:\dev\openssl\inc32\openssl/ocsp.h(416) : error C2091: function returns function
          X:\dev\openssl\inc32\openssl/ocsp.h(416) : error C2143: syntax error : missing '{' before 'constant'
     X:\dev\openssl\inc32\openssl/ocsp.h(416) : error C2059: syntax error : '&lt;Unknown&gt;'
    X:\dev\openssl\inc32\openssl/ocsp.h(416) : error C2059: syntax error : ')'
     X:\dev\openssl\inc32\openssl/ocsp.h(418) : error C2059: syntax error : ')'
       X:\dev\openssl\inc32\openssl/ocsp.h(420) : error C2143: syntax error : missing ')' before '('
     X:\dev\openssl\inc32\openssl/ocsp.h(420) : error C2143: syntax error : missing ')' before '('
     X:\dev\openssl\inc32\openssl/ocsp.h(420) : error C2091: function returns function
   X:\dev\openssl\inc32\openssl/ocsp.h(420) : error C2091: function returns function
  
    X:\dev\openssl\inc32\openssl/ocsp.h(425) : error C2143: syntax error : missing ')'         before '('
     X:\dev\openssl\inc32\openssl/ocsp.h(425) : error C2143: syntax error : missing ')' before '('
    X:\dev\ openssl\inc32\openssl/ocsp.h(425) : error C2091: function returns function
      X:\dev\openssl\inc32\openssl/ocsp.h(425) : error C2091: function returns function
      X:\dev\openssl\inc32\openssl/ocsp.h(425) : error C2143: syntax error : missing '{' before 'constant'
      X:\dev\openssl\inc32\openssl/ocsp.h(425) : error C2059: syntax error : '&lt;Unknown&gt;'
     X:\dev\openssl\inc32\openssl/ocsp.h(425) : error C2059: syntax error : ')'
       X:\dev\openssl\inc32\openssl/ocsp.h(425) : error C2059: syntax error : ')'
     X:\dev\openssl\inc32\openssl/ocsp.h(427) : error C2143: syntax error : missing ')' before '('
       X:\dev\openssl\inc32\openssl/ocsp.h(427) : error C2143: syntax error : missing ')'  before '('
       X:\dev\openssl\inc32\openssl/ocsp.h(427) : error C2091: function returns function
       X:\dev\openssl\inc32\openssl/ocsp.h(427) : error C2091: function returns function
         X:\dev\openssl\inc32\openssl/ocsp.h(427) : error C2143: syntax error : missing '{' before 'constant'
        X:\dev\openssl\inc32\openssl/ocsp.h(427) : error C2059: syntax error : '&lt;Unknown&gt;'
       X:\dev\openssl\inc32\openssl/ocsp.h(427) : error C2059: syntax error : ')'
       X:\dev\openssl\inc32\openssl/ocsp.h(428) : error C2143: syntax error : missing ')' before '('
      X:\dev\openssl\inc32\openssl/ocsp.h(428) : error C2143: syntax error : missing ')' before '('
     X:\dev\openssl\inc32\openssl/ocsp.h(428) : error C2091: function returns function
    X:\dev\openssl\inc32\openssl/ocsp.h(428) : error C2091: function returns function
    X:\dev \openssl\inc32\openssl/ocsp.h(428) : error C2143: syntax error : missing '{' before 'constant'
       X:\dev\openssl\inc32\openssl/ocsp.h(428) : error C2059: syntax error : '&lt;Unknown&gt;'
        X:\dev\openssl\inc32\openssl/ocsp.h(428) : error C2059: syntax error : ')'
          X:\dev\openssl\inc32\openssl/ocsp.h(428) : error C2059: syntax error : ')'
        X:\dev\openssl\inc32\openssl/ocsp.h(430) : error C2143: syntax error : missing   ')' before '('
      X:\dev\openssl\inc32\openssl/ocsp.h(430) : error C2143: syntax error : missing ')' before '('
  
     X:\dev\openssl\inc32\openssl/ocsp.h(430) : error C2059: syntax error : '&lt;Unknown&gt;'
    X:\dev\ openssl\inc32\openssl/ocsp.h(430) : error C2059: syntax error : ')'
        X:\dev \openssl\inc32\openssl/ocsp.h(435) : error C2059: syntax error : ')'
       X:\dev\openssl\inc32\openssl/ocsp.h(437) : error C2143: syntax error : missing ')'  before '('
  </code></pre>
  
  <p>The compilation stops here:</p>
  
  <pre><code>     X:\dev\openssl\inc32\openssl/ocsp.h(437) : fatal error C1003: error count exceeds  100; stopping compilation
       cl : Command line warning D9035 : option 'O' has been deprecated and will be rem
      oved in a future release
      NMAKE : fatal error U1077: '"C:\Program Files\Microsoft SDKs\Windows\v6.0\VC\Bin
      \cl.EXE"' : return code '0x2'
     Stop.
  </code></pre>