Created
November 20, 2014 19:59
-
-
Save ricardoquesada/cf68ad7ff2f6edcfac2c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
riq@retinita-2 ~/progs/cocos2d-x/mac (v3)$ make -j8 lua-empty-test | |
[ 1%] [ 1%] [ 1%] Built target xxhash | |
Built target tinyxml2 | |
Built target unzip | |
[ 4%] Built target protobuf | |
[ 78%] Built target cocos2d | |
[ 79%] [ 79%] [ 79%] [ 79%] Building C object cocos/scripting/lua-bindings/CMakeFiles/luacocos2d.dir/__/__/__/external/lua/luasocket/options.c.o | |
Building C object cocos/scripting/lua-bindings/CMakeFiles/luacocos2d.dir/__/__/__/external/lua/luasocket/inet.c.o | |
[ 80%] [ 80%] [ 80%] [ 80%] Building CXX object cocos/scripting/lua-bindings/CMakeFiles/luacocos2d.dir/manual/CCLuaBridge.cpp.o | |
Building CXX object cocos/scripting/lua-bindings/CMakeFiles/luacocos2d.dir/manual/CCLuaEngine.cpp.o | |
Building CXX object cocos/scripting/lua-bindings/CMakeFiles/luacocos2d.dir/manual/CCLuaStack.cpp.o | |
Building CXX object cocos/scripting/lua-bindings/CMakeFiles/luacocos2d.dir/manual/Cocos2dxLuaLoader.cpp.o | |
Building CXX object cocos/scripting/lua-bindings/CMakeFiles/luacocos2d.dir/manual/CCLuaValue.cpp.o | |
Building CXX object cocos/scripting/lua-bindings/CMakeFiles/luacocos2d.dir/manual/LuaBasicConversions.cpp.o | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/inet.c:62:9: warning: implicit declaration of function 'inet_aton' is invalid in C99 | |
[-Wimplicit-function-declaration] | |
if (inet_aton(address, &addr)) | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/options.c/Users/riq/progs/cocos2d-x/external/lua/luasocket/inet.c::13587::4615:: errorerror: : use useof ofundeclared undeclaredidentifier identifier'NI_MAXHOST' 'IP_MULTICAST_LOOP' | |
char hbuf[NI_MAXHOST]; | |
^ | |
return opt_setboolean(L, ps, IPPROTO_IP, IP_MULTICAST_LOOP); | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/inet.c:88:15: error: use of undeclared identifier 'NI_MAXSERV' | |
char sbuf[NI_MAXSERV]; | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/options.c:140:46: error: use of undeclared identifier 'IP_MULTICAST_LOOP' | |
return opt_getboolean(L, ps, IPPROTO_IP, IP_MULTICAST_LOOP); | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/options.c:161:19: error: use of undeclared identifier 'u_short'; did you mean 'short'? | |
li.l_onoff = (u_short) lua_toboolean(L, -1); | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/options.c:166:20: error: use of undeclared identifier 'u_short'; did you mean 'short'? | |
li.l_linger = (u_short) lua_tonumber(L, -1); | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/inet.c:144:58: error: no member named 'h_addr' in 'struct hostent' | |
lua_pushstring(L, inet_ntoa(*((struct in_addr *) hp->h_addr))); | |
~~ ^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/options.c:187:42: error: use of undeclared identifier 'IP_MULTICAST_TTL' | |
return opt_setint(L, ps, IPPROTO_IP, IP_MULTICAST_TTL); | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/options.c:195:34: warning: implicit/Users/riq/progs/cocos2d-x/external/lua/luasocket/inet.c :declaration182 :of19 :function 'inet_aton' is invalid in C99 | |
[-Wimplicit-function-declaration] | |
if (strcmp(address, "*") && !inet_aton(address, &val)) | |
^ | |
error: use of undeclared identifier 'NI_MAXHOST' | |
char hbuf[NI_MAXHOST]; | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/options.c:197:39: error: use of undeclared identifier 'IP_MULTICAST_IF' | |
return opt_set(L, ps, IPPROTO_IP, IP_MULTICAST_IF, | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/options.c:205:37: error: use of undeclared identifier 'IP_MULTICAST_IF' | |
if (getsockopt(*ps, IPPROTO_IP, IP_MULTICAST_IF, (char *) &val, &len) < 0) { | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/options.c:216:49: error: use of undeclared identifier 'IP_ADD_MEMBERSHIP' | |
return opt_setmembership(L, ps, IPPROTO_IP, IP_ADD_MEMBERSHIP); | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/options.c:221:49: error: use of undeclared identifier 'IP_DROP_MEMBERSHIP' | |
return opt_setmembership(L, ps, IPPROTO_IP, IP_DROP_MEMBERSHIP); | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/options.c:249:20: error: variable has incomplete type 'struct ip_mreq' | |
struct ip_mreq val; /* obj, name, table */ | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/options.c:249:12: note: forward declaration of 'struct ip_mreq' | |
struct ip_mreq val; /* obj, name, table */ | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/options.c:270:22: error: variable has incomplete type 'struct ipv6_mreq' | |
struct ipv6_mreq val; /* obj, opt-name, table */ | |
^ | |
/Users/riq/progs/cocos2d-x/external/lua/luasocket/options.c:270:12: note: forward declaration of 'struct ipv6_mreq' | |
struct ipv6_mreq val; /* obj, opt-name, table */ | |
^ | |
11 warning warning and and 114 error errorss generated. | |
generated. | |
make[3]: *** [cocos/scripting/lua-bindings/CMakeFiles/luacocos2d.dir/__/__/__/external/lua/luasocket/options.c.o] Error 1 | |
make[3]: *** Waiting for unfinished jobs.... | |
make[3]: *** [cocos/scripting/lua-bindings/CMakeFiles/luacocos2d.dir/__/__/__/external/lua/luasocket/inet.c.o] Error 1 | |
make[2]: *** [cocos/scripting/lua-bindings/CMakeFiles/luacocos2d.dir/all] Error 2 | |
make[1]: *** [tests/lua-empty-test/project/CMakeFiles/lua-empty-test.dir/rule] Error 2 | |
make: *** [lua-empty-test] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment