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 srcmake[1]: Entering directory '/root/luajit-aarch64-master/src'BUILDVM lj_vm.sError: pointer size mismatch in cross-build.Try: make HOST_CC="gcc -m32" CROSS=...Makefile:620: recipe for target 'lj_vm.s' failedmake[1]: *** [lj_vm.s] Error 1make[1]: Leaving directory '/root/luajit-aarch64-master/src'Makefile:109: recipe for target 'default' failedmake: *** [default] Error 2root@node:/root/luajit-aarch64-master#
Could you please help me in resolving this issue?
Thanks In Advance.
- Bhanu.
Hi Bhanu,
I have moved your question to the processors community as they may be best placed to answer your question.
Seems obvious: You have a pointer size mismatch between build and execution environment.