lipp / lua-websockets

Websockets for Lua.
http://lipp.github.com/lua-websockets/
MIT License
396 stars 113 forks source link

ERROR_NOT_ENOUGH_MEMORY #111

Open ThomasJanuary88 opened 6 years ago

ThomasJanuary88 commented 6 years ago

After this command luarocks make rockspecs/lua-websockets-scm-1.rockspec

I got this error

In file included from src/wsocket.h:11:0, from src/socket.h:18, from src/wsocket.c:10: src/wsocket.c: In function 'socket_gaistrerror': src/wsocket.c:417:14: error: 'ERROR_NOT_ENOUGH_MEMORY' undeclared (first use in this function) case EAI_MEMORY: return "memory allocation failure"; ^ src/wsocket.c:417:14: note: each undeclared identifier is reported only once for each function it appears in Error: Failed installing dependency: https://luarocks.org/luasocket-3.0rc1-2.src.rock - Build error: Failed compiling object src/wsocket.o

Any idea ?