<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:10px">Hi,</span><div style="font-family:arial,sans-serif;font-size:10px">I have a problem about spdy support.</div><div style="font-family:arial,sans-serif;font-size:10px">
<br></div><div style="font-family:arial,sans-serif;font-size:10px">I tried building Nginx with SPDY according to the page.</div><div style="font-family:arial,sans-serif;font-size:10px"><a href="http://nginx.org/en/docs/howto_build_on_win32.html" target="_blank">http://nginx.org/en/docs/howto_build_on_win32.html</a><br>
</div><div style="font-family:arial,sans-serif;font-size:10px"><br></div><div style="font-family:arial,sans-serif;font-size:10px">but, make command was stopped when making ngx_http_spdy.obj.</div><div style="font-family:arial,sans-serif;font-size:10px">
<br></div><div style="font-family:arial,sans-serif;font-size:10px">[Environment]</div><div style="font-family:arial,sans-serif;font-size:10px">Nginx: 1.3.14(from svn source)</div><div style="font-family:arial,sans-serif;font-size:10px">
uname -a: MINGW32_NT-5.1 EBB007K 1.0.18(0.48/3/2) 2012-11-21 22:34 i686 Msys</div><div style="font-family:arial,sans-serif;font-size:10px"><br></div><div style="font-family:arial,sans-serif;font-size:10px"><div>$ export LIB="C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\lib;C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Lib" </div>
<div>$ export INCLUDE="C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\include;C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1\\Include" </div><div>$ export PATH="$PATH:/c/strawberryperl/perl/bin:/c/Program Files/Microsoft Visual Studio 10.0/VC/bin:/c/Program Files/Microsoft Visual Studio 10.0/Common7/IDE:/c/Program Files/Microsoft SDKs/Windows/v7.1/Bin"</div>
<div><br></div></div><div style="font-family:arial,sans-serif;font-size:10px">configure command</div><div style="font-family:arial,sans-serif;font-size:10px">$auto/configure --with-cc=cl --builddir=obj --prefix= --conf-path=conf/nginx.conf --pid-path=logs/ngi</div>
<div style="font-family:arial,sans-serif;font-size:10px">nx.pid --http-log-path=logs/access.log --error-log-path=logs/error.log --sbin-path=nginx.exe --http-</div><div style="font-family:arial,sans-serif;font-size:10px">client-body-temp-path=temp/client_body_temp --http-proxy-temp-path=temp/proxy_temp --http-fastcgi-te</div>
<div style="font-family:arial,sans-serif;font-size:10px">mp-path=temp/fastcgi_temp --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=obj/lib/pcre-8.32 --with-zlib=</div><div style="font-family:arial,sans-serif;font-size:10px">obj/lib/zlib-1.2.7 --with-openssl=obj/lib/openssl-1.0.1e --with-select_module --with-http_ssl_module</div>
<div style="font-family:arial,sans-serif;font-size:10px"> --with-http_spdy_module --with-http_perl_module --with-http_dav_module</div><div style="font-family:arial,sans-serif;font-size:10px"><br></div><div style="font-family:arial,sans-serif;font-size:10px">
make command</div><div style="font-family:arial,sans-serif;font-size:10px"><font color="#333333" face="Helvetica, Arial, ヒラギノ角ゴ Pro W3, Hiragino Kaku Gothic Pro, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif"><span style="font-size:14px;line-height:20px">$ nmake -f obj/Makefile</span></font><br>
</div><div style="font-family:arial,sans-serif;font-size:10px"><br></div><div style="font-family:arial,sans-serif;font-size:10px">...</div><div style="font-family:arial,sans-serif;font-size:10px"><div>        cl -c -O2  -W4 -WX -nologo -MT -Zi -DFD_SETSIZE=1024 -DNO_SYS_TYPES_H -Yungx_config.h -Fpobj</div>
<div>/ngx_config.pch -I src/core  -I src/event  -I src/event/modules  -I src/os/win32  -I obj/lib/pcre-8.</div><div>32  -I obj/lib/openssl-1.0.1e/openssl/include  -I obj/lib/zlib-1.2.7  -I obj  -I src/http  -I src/ht</div>
<div>tp/modules  -I src/http/modules/perl  -I src/mail  -Foobj/src/http/ngx_http_spdy.obj  src/http/ngx_h</div><div>ttp_spdy.c</div><div>ngx_http_spdy.c</div><div>src/http/ngx_http_spdy.c(1264) : error C2220: warning treated as error - no 'object' file generated</div>
<div>src/http/ngx_http_spdy.c(1264) : warning C4244: 'function' : conversion from 'off_t' to 'size_t', po</div><div>ssible loss of data</div><div>src/http/ngx_http_spdy.c(1642) : warning C4310: cast truncates constant value</div>
<div>NMAKE : fatal error U1077: '"\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.EXE"' : return co</div><div>de '0x2'</div><div>Stop.</div><div><br></div><div>No one try to build Nginx with SPDY on Windows XP?</div>
<div>This problem is happened only on Windows?</div><div>Please help me.</div><div><br></div><div>BTW, why configure command adds "--prefix=openssl"  to openssl directory?</div><div>I extended zip file to obj/lib/openssl-1.0.1e directory that include "Configure" file and "include" directory.</div>
<div>But, configure command said "obj/lib/openssl-1.0.1e/openssl/include".</div><div>It's prrety strange. So, I create "obj/lib/openssl-1.0.1e/openssl" directory and copy include directory to that.</div>
<div><br></div><div>Thanks.</div></div></div>