error building 0.9.1 on Cygwin

Igor Sysoev igor at sysoev.ru
Wed Dec 1 17:27:39 MSK 2010


On Wed, Dec 01, 2010 at 09:21:05AM -0500, Kevin Worthington wrote:

> Hi Igor,
> 
> It says "not found" for both...
> 
> How can this be fixed to compile? Thanks for your help!

Try the new attached patch.


-- 
Igor Sysoev
http://sysoev.ru/en/
-------------- next part --------------
Index: auto/unix
===================================================================
--- auto/unix	(revision 3130)
+++ auto/unix	(working copy)
@@ -119,6 +119,18 @@
 . auto/feature
 
 
+# Cygiwn defines _sys_nerr
+ngx_feature="_sys_nerr"
+ngx_feature_name="NGX_SYS_NERR"
+ngx_feature_run=value
+ngx_feature_incs='#include <errno.h>
+                  #include <stdio.h>'
+ngx_feature_path=
+ngx_feature_libs=
+ngx_feature_test='printf("%d", _sys_nerr);'
+. auto/feature
+
+
 ngx_feature="localtime_r()"
 ngx_feature_name="NGX_HAVE_LOCALTIME_R"
 ngx_feature_run=no


More information about the nginx mailing list