This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

luajit compilation on aarch64

Hi,

   I am trying to build luajit on aarch64 platform. I have downloaded source from https://github.com/cbaylis/luajit-aarch64 .

  I am getting the below error when I compilled the source. 


root@node:/root/luajit-aarch64-master# make
==== Building LuaJIT 2.0.4 ====
make -C src
make[1]: Entering directory '/root/luajit-aarch64-master/src'
BUILDVM lj_vm.s
Error: pointer size mismatch in cross-build.
Try: make HOST_CC="gcc -m32" CROSS=...Makefile:620: recipe for target 'lj_vm.s' failed
make[1]: *** [lj_vm.s] Error 1
make[1]: Leaving directory '/root/luajit-aarch64-master/src'
Makefile:109: recipe for target 'default' failed
make: *** [default] Error 2
root@node:/root/luajit-aarch64-master#

Could you please help me in resolving this issue?

Thanks In Advance.

- Bhanu.

Parents Reply Children
No data