Compiling Nginx on Windows 7

Andrei Belov defan at nginx.com
Mon Jun 1 07:45:04 UTC 2015


On 30 May 2015, at 23:00, z_kamikimo <nginx-forum at nginx.us> wrote:

> Im experiencing issues with compiling Nginx on Windows 7, every thing goes
> good until nmake -f objs/Makefile.
> I get the following error
> 
> Assembling: tmp32\sha1-586.asm
> tmp32\sha1-586.asm(1432) : error A2070:invalid instruction operands
> tmp32\sha1-586.asm(1576) : error A2070:invalid instruction operands
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 10.0\VC\BI
> N\ml.EXE"' : return code '0x1'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 10.0\VC\BI
> N\nmake.exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 10.0\VC\BI
> N\nmake.exe"' : return code '0x2'
> Stop.

Are you trying to do the build on 64-bit Windows 7?

The attached patch may help (it was tested on Windows Server
2008 R2 Datacenter SP1 64-bit in the past).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: win32-openssl-x64.patch
Type: application/octet-stream
Size: 846 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150601/a6108037/attachment.obj>


More information about the nginx mailing list