[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Problem building luajit on touchpad
- From: Tim Caswell <tim@...>
- Date: Tue, 18 Oct 2011 16:30:10 -0700
I'm trying to build laujit on my touchpad (an arm device). I have gcc
and friends from optware which provides a fairly typical linux
environment. I can build several other projects without issue, so my
tools seem at least sane.
The problem I get is:
make: Entering directory `/media/ext3fs/tim/luvit/deps/luajit/src'
lj_ir.c:53: error: 'exp2' undeclared here (not in a function)
lj_ir.c:53: error: 'log2' undeclared here (not in a function)
Some googling leads me to believe that certain versions of gcc don't
have these functions in C89 mode. Has anyone else hit this issue and
is there something I'm doing wrong?