I'm compiling in a Debian 7 32 bits environment, with an ARM toolchain.All went ok (except some warnings regarding log2 and exp2 declarations) until it stopped with
lj_ir.c:62: error: ‘exp2’ undeclared here (not in a function) lj_ir.c:62: error: ‘log2’ undeclared here (not in a function) make: *** [lj_ir.o] Error 1 The lines surrounding the 62th are /* C call info for CALL* instructions. */ LJ_DATADEF const CCallInfo lj_ir_callinfo[] = { #define IRCALLCI(cond, name, nargs, kind, type, flags) \ { (ASMFunction)IRCALLCOND_##cond(name), \ (nargs)|(CCI_CALL_##kind)|(IRT_##type<<CCI_OTSHIFT)|(flags) }, IRCALLDEF(IRCALLCI) #undef IRCALLCI { NULL, 0 } }; Cannot find some relation between the compiler error and the offending line. TIA Marcelo