64bit cygwin 下配置openresty, 配置时报错:
CC lj_alloc.o
lj_alloc.c:249:2: 错误:#error "NYI: need an equivalent of MAP_32BIT for this 64 bit OS"
#error "NYI: need an equivalent of MAP_32BIT for this 64 bit OS"
^
lj_alloc.c: 在函数‘direct_alloc’中:
lj_alloc.c:742:5: 警告:隐式声明函数‘CALL_MMAP’ [-Wimplicit-function-declaration]
char *mm = (char *)(DIRECT_MMAP(mmsize));
^
lj_alloc.c:742:16: 警告:将一个整数转换为大小不同的指针 [-Wint-to-pointer-cast]
char *mm = (char *)(DIRECT_MMAP(mmsize));
^
lj_alloc.c: 在函数‘alloc_sys’中:
lj_alloc.c:911:18: 警告:将一个整数转换为大小不同的指针 [-Wint-to-pointer-cast]
char *mp = (char *)(CALL_MMAP(rsize));
^
lj_alloc.c: 在函数‘lj_alloc_create’中:
lj_alloc.c:1143:11: 警告:将一个整数转换为大小不同的指针 [-Wint-to-pointer-cast]
tbase = (char *)(CALL_MMAP(tsize));
^
Makefile:644: recipe for target 'lj_alloc.o' failed
make[1]: *** [lj_alloc.o] Error 1
make[1]: Leaving directory '/e/works/openresty/build/ngx_openresty-1.5.11.1rc3/build/LuaJIT-2.1-20140313/src'
Makefile:105: recipe for target 'default' failed
make: *** [default] Error 2
ERROR: failed to run command: make TARGET_STRIP=@: CCDEBUG=-g PREFIX=/e/works/openresty/1511rc3/luajit
mingw下面配置configure时报错:
+ ngx_http_srcache_filter_module was configured
adding module in ../ngx_lua-0.9.6
checking for LuaJIT library in /e/works/openresty/build/ngx_openresty-1.5.11.1rc
3/build/luajit-root/e/works/openresty/1511rc3/luajit/lib and /e/works/openresty/
build/ngx_openresty-1.5.11.1rc3/build/luajit-root/e/works/openresty/1511rc3/luaj
it/include/luajit-2.1 (specified by the LUAJIT_LIB and LUAJIT_INC env) ... not f
ound
./configure: error: ngx_http_lua_module requires the Lua or LuaJIT libra
ry and LUAJIT_LIB is defined as /e/works/openresty/build/ngx_openresty-1.5.11.1r
c3/build/luajit-root/e/works/openresty/1511rc3/luajit/lib and LUAJIT_INC (path f
or lua.h) /e/works/openresty/build/ngx_openresty-1.5.11.1rc3/build/luajit-root/e
/works/openresty/1511rc3/luajit/include/luajit-2.1, but we cannot find LuaJIT th
ere.
ERROR: failed to run command: ./configure --prefix=/e/works/openresty/1511rc3/ng
inx \...
我想在windows平台下编译openresty, 之前说好像可以编辑通过的,今天怎么我过不了,不知哪位成功过,给个提示哈。
--
with kind regards