Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LuaJIT-2.1安装lua-cjson-2.1安装不成功 #98

Open
Tender-Liu opened this issue Oct 12, 2018 · 0 comments
Open

LuaJIT-2.1安装lua-cjson-2.1安装不成功 #98

Tender-Liu opened this issue Oct 12, 2018 · 0 comments

Comments

@Tender-Liu
Copy link

报错原因:make失败
cc -c -O3 -Wall -pedantic -DNDEBUG -I/usr/local/luajit/include/luajit-2.1 -fpic -o lua_cjson.o lua_cjson.c
lua_cjson.c:1299: 错误:对‘luaL_setfuncs’的静态声明出现在非静态声明之后
/usr/local/luajit/include/luajit-2.1/lauxlib.h:88: 附注:‘luaL_setfuncs’的上一个声明在此
make: *** [lua_cjson.o] 错误 1
解决方式:
LuaJIT-2.1无法安装lua-cjson-2.1,使用LuaJIT-2.0安装

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant