Sitelet https://github.com/mpx/lua-cjson/issues/53
Skip to content

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

Description

@cbalano

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions