Hello everyone,
When I rebased my branch with master, and tried to build it I m getting this error
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc:79:5: error: ‘lua_seti’ was not declared in this scope; did you mean ‘luaL_setn’?
79 | lua_seti(L, -2, i);
| ^~~~~~~~
| luaL_setn
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc:86:32: error: ‘LUA_OK’ was not declared in this scope; did you mean ‘LUA_QS’?
86 | if (lua_pcall(L, 0, 1, 0) != LUA_OK) {
| ^~~~~~
| LUA_QS
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc:100:10: error: ‘lua_isinteger’ was not declared in this scope; did you mean ‘lua_tointeger’?
100 | if (!lua_isinteger(L, -2) || !lua_isnumber(L, -1)) {
| ^~~~~~~~~~~~~
| lua_tointeger
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc: In constructor ‘Mantle::Mantle()’:
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc:123:21: error: ‘luaopen_coroutine’ was not declared in this scope; did you mean ‘luaopen_string’?
123 | {LUA_COLIBNAME, luaopen_coroutine},
| ^~~~~~~~~~~~~~~~~
| luaopen_string
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc:127:6: error: ‘LUA_UTF8LIBNAME’ was not declared in this scope; did you mean ‘LUA_STRLIBNAME’?
127 | {LUA_UTF8LIBNAME, luaopen_utf8},
| ^~~~~~~~~~~~~~~
| LUA_STRLIBNAME
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc:127:23: error: ‘luaopen_utf8’ was not declared in this scope; did you mean ‘luaopen_math’?
127 | {LUA_UTF8LIBNAME, luaopen_utf8},
| ^~~~~~~~~~~~
| luaopen_math
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc:133:7: error: ‘luaL_requiref’ was not declared in this scope; did you mean ‘luaL_unref’?
133 | luaL_requiref(L, lib->name, lib->func, 1);
79 | lua_seti(L, -2, i);
| ^~~~~~~~
| luaL_setn
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc:86:32: error: ‘LUA_OK’ was not declared in this scope; did you mean ‘LUA_QS’?
86 | if (lua_pcall(L, 0, 1, 0) != LUA_OK) {
| ^~~~~~
| LUA_QS
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc:100:10: error: ‘lua_isinteger’ was not declared in this scope; did you mean ‘lua_tointeger’?
100 | if (!lua_isinteger(L, -2) || !lua_isnumber(L, -1)) {
| ^~~~~~~~~~~~~
| lua_tointeger
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc: In constructor ‘Mantle::Mantle()’:
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc:123:21: error: ‘luaopen_coroutine’ was not declared in this scope; did you mean ‘luaopen_string’?
123 | {LUA_COLIBNAME, luaopen_coroutine},
| ^~~~~~~~~~~~~~~~~
| luaopen_string
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc:127:6: error: ‘LUA_UTF8LIBNAME’ was not declared in this scope; did you mean ‘LUA_STRLIBNAME’?
127 | {LUA_UTF8LIBNAME, luaopen_utf8},
| ^~~~~~~~~~~~~~~
| LUA_STRLIBNAME
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc:127:23: error: ‘luaopen_utf8’ was not declared in this scope; did you mean ‘luaopen_math’?
127 | {LUA_UTF8LIBNAME, luaopen_utf8},
| ^~~~~~~~~~~~
| luaopen_math
/home/abhinav/GSOC/PR/ceph/src/mds/Mantle.cc:133:7: error: ‘luaL_requiref’ was not declared in this scope; did you mean ‘luaL_unref’?
133 | luaL_requiref(L, lib->name, lib->func, 1);
OS - ubuntu 18.04
Lua &Lua dev - 5.1
ceph 16.0.0-6381-g4304ebeca8 (4304ebeca8a7c55b7c583eaf35a0aede807692be) pacific (dev)
Thank You,
Abhinav Singh
_______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx