Atlas
Atlas copied to clipboard
报错:“提供给函数‘lua_load’的实参太少”
系统: CentOS Linux release 7.6.1810 Lua-devel-5.3.0-2.el7.x86_64
编译参数: ./configure --with-mysql=/usr/bin/mysql_config --prefix=/usr/local/atlas LDFLAGS="-lcrypto"
make 出错提示: lua-load-factory.c: 在函数‘luaL_loadstring_factory’中: lua-load-factory.c:122:2: 错误:提供给函数‘lua_load’的实参太少 return lua_load(L, loadstring_factory_reader, &factory, s);
In file included from lua-load-factory.c:34:0: /usr/include/lua.h:278:16: 附注:在此声明 LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt,
lua-load-factory.c: 在函数‘luaL_loadfile_factory’中: lua-load-factory.c:137:2: 错误:提供给函数‘lua_load’的实参太少 ret = lua_load(L, loadstring_factory_reader, &factory, filename);
请问怎么解决这个问题。
改用Lua5.1。
| | 朱超 | | 邮箱:[email protected] |
签名由 网易邮箱大师 定制
在2019年09月09日 18:29,liyu76 写道:
系统: CentOS Linux release 7.6.1810 Lua-devel-5.3.0-2.el7.x86_64
编译参数: ./configure --with-mysql=/usr/bin/mysql_config --prefix=/usr/local/atlas LDFLAGS="-lcrypto"
make 出错提示: lua-load-factory.c: 在函数‘luaL_loadstring_factory’中: lua-load-factory.c:122:2: 错误:提供给函数‘lua_load’的实参太少 return lua_load(L, loadstring_factory_reader, &factory, s); ^ In file included from lua-load-factory.c:34:0: /usr/include/lua.h:278:16: 附注:在此声明 LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt, ^ lua-load-factory.c: 在函数‘luaL_loadfile_factory’中: lua-load-factory.c:137:2: 错误:提供给函数‘lua_load’的实参太少 ret = lua_load(L, loadstring_factory_reader, &factory, filename);
请问怎么解决这个问题。
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
好的,我试试,谢谢
------------------ 原始邮件 ------------------ 发件人: "Zhu Chao"<[email protected]>; 发送时间: 2019年9月9日(星期一) 晚上9:54 收件人: "Qihoo360/Atlas"<[email protected]>; 抄送: "苍(昱)"<[email protected]>; "Author"<[email protected]>; 主题: Re: [Qihoo360/Atlas] 报错:“提供给函数‘lua_load’的实参太少” (#198)
改用Lua5.1。
| | 朱超 | | 邮箱:[email protected] |
签名由 网易邮箱大师 定制
在2019年09月09日 18:29,liyu76 写道:
系统: CentOS Linux release 7.6.1810 Lua-devel-5.3.0-2.el7.x86_64
编译参数: ./configure --with-mysql=/usr/bin/mysql_config --prefix=/usr/local/atlas LDFLAGS="-lcrypto"
make 出错提示: lua-load-factory.c: 在函数‘luaL_loadstring_factory’中: lua-load-factory.c:122:2: 错误:提供给函数‘lua_load’的实参太少 return lua_load(L, loadstring_factory_reader, &factory, s); ^ In file included from lua-load-factory.c:34:0: /usr/include/lua.h:278:16: 附注:在此声明 LUA_API int (lua_load) (lua_State *L, lua_Reader reader, void *dt, ^ lua-load-factory.c: 在函数‘luaL_loadfile_factory’中: lua-load-factory.c:137:2: 错误:提供给函数‘lua_load’的实参太少 ret = lua_load(L, loadstring_factory_reader, &factory, filename);
请问怎么解决这个问题。
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.