When I compile this RC, I get a warning, then an error, about an implicit declaration of a function (l_tg) which is in fact, not defined anywhere:
../deps/lua/src/lobject.c:152:10: warning: implicit declaration of function 'l_tg' is invalid in C99 [-Wimplicit-function-declaration]
return l_tg(ldexp)(r, e);
#define luai_hashnum(i,n) { int e; \
n = l_tg(frexp)(n, &e) * (lua_Number)(INT_MAX - DBL_MAX_EXP); \
lua_number2int(i, n); i += e; }
That l_tg function is indeed not defined. I might not compiling lua with the right flags though, because the project alone compiles fine (the error happens when I include lua code in my application code manually).
Regards,
JLH