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

'fpconv_init' declared but never defined on Alpine Linux 3.7 #53

Open
cbalano opened this issue Feb 3, 2018 · 0 comments
Open

'fpconv_init' declared but never defined on Alpine Linux 3.7 #53

cbalano opened this issue Feb 3, 2018 · 0 comments

Comments

@cbalano
Copy link

cbalano commented Feb 3, 2018

I installed tarantool 1.8 on Alpine Linux 3.7 and now I am trying a few extra rocks.

When issuing "tarantoolctl rocks install luajwt" at the OS prompt, I see the errors below. Any idea why this might be?

Missing dependencies for luajwt 1.3-4:
luacrypto >= 0.3.2-1 (not installed)
lua-cjson >= 2.1.0 (not installed)
lbase64 >= 20120807-3 (not installed)

luajwt 1.3-4 depends on luacrypto >= 0.3.2-1 (not installed)
Installing http://rocks.moonscript.org/luacrypto-0.3.2-2.src.rock
gcc -O2 -fPIC -I/usr/local/include/tarantool -c src/lcrypto.c -o src/lcrypto.o -I/usr/include
gcc -shared -o crypto.so -L/usr/local/lib src/lcrypto.o -L/usr/lib -Wl,-rpath,/usr/lib: -lcrypto
luacrypto 0.3.2-2 is now installed in /root/.rocks (license: MIT)

luajwt 1.3-4 depends on lua-cjson >= 2.1.0 (not installed)
Installing http://rocks.moonscript.org/lua-cjson-2.1.0-1.src.rock
gcc -O2 -fPIC -I/usr/local/include/tarantool -c lua_cjson.c -o lua_cjson.o
lua_cjson.c:1298:13: error: static declaration of 'luaL_setfuncs' follows non-static declaration
static void luaL_setfuncs (lua_State *l, const luaL_Reg *reg, int nup)
^~~~~~~~~~~~~
In file included from lua_cjson.c:44:0:
/usr/local/include/tarantool/lauxlib.h:88:18: note: previous declaration of 'luaL_setfuncs' was here
LUALIB_API void (luaL_setfuncs) (lua_State *L, const luaL_Reg *l, int nup);
^~~~~~~~~~~~~
In file included from lua_cjson.c:47:0:
fpconv.h:15:20: warning: inline function 'fpconv_init' declared but never defined
extern inline void fpconv_init();
^~~~~~~~~~~

Error: Failed installing dependency: http://rocks.moonscript.org/lua-cjson-2.1.0-1.src.rock - Build error: Failed compiling object lua_cjson.o

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