On 3 January 2015 at 01:17, Jacob Nevins <0jacobnk.fc...@chiark.greenend.org.uk> wrote: > fullm...@cazfi.net writes: >> Component "server", Host "build.cazfi.net", Phase "Build(2)": FAILED > > <http://build.cazfi.net/freeciv/nightly/logs/stderr-150102.log>: > ./.libs/libfcgui-stub.a(lt35-tolua_is.o): In function `tolua_typename': > /home/fullmoon/fullmoon/trunk/examples/games/freeciv/TRUNK.src/dependencies/tolua-5.2/src/lib/tolua_is.c:56: > undefined reference to `lua_insert' > ./.libs/libfcgui-stub.a(lt35-tolua_is.o): In function `lua_isusertable': > /home/fullmoon/fullmoon/trunk/examples/games/freeciv/TRUNK.src/dependencies/tolua-5.2/src/lib/tolua_is.c:107: > undefined reference to `lua_insert' > [etc] > > I get this too in my standard trunk build. > > In my build with '--enable-auth --enable-fcdb=all', the build falls over > somewhat earlier: > > CC ls_mysql.lo > ls_mysql.c: In function 'env_connect': > ls_mysql.c:494:2: error: implicit declaration of function 'luaL_optint' > [-Werror=implicit-function-declaration] > ls_mysql.c:494:2: error: nested extern declaration of 'luaL_optint' > [-Werror=nested-externs] > > (S2_6 is fine.) > > Do tolua and luasql need updating for lua-5.3? > > _______________________________________________ > Freeciv-dev mailing list > Freeciv-dev@gna.org > https://mail.gna.org/listinfo/freeciv-dev
Have you made clean since lua-5.2 -> lua-5.3 update? Problems similar to first ones appear when tolua has not been rebuilt, but is still built against lua-5.2 while the binary linking against it links also agains lua-5.3. At least the fullmoon build was fixed (for this part) simply by forcing full rebuild. This probably does not help with the latter problem - I've probably built against sqlite backend only with the lua-5.3. Sorry about that. I have some luasql backports coming to our tree. I'll check this issue at the same time. - ML _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev