./configure --with-debug
error:#error "Architecture no t supported in thi s version) , See: <https://luajit.org/status.html#architectures>'
#error "Architecture no t supported (in this version) , See:<https://luajit.org/status.html#architectures:
error #error "No target architecture defined"
#error "No target architecture defined"
Makefi1e:273: \*\*\* Unsupported target architecture 。 停止
编译报错问题解决
cd openresty-1.25.3.1/bundle/LuaJIT-2.1-20231117
rm -rf *
#上传luajit2-2.1-agentzh-loongarch64.zip到该目录
unzip luajit2-2.1-agentzh-loongarch64.zip
cd luajit2-2.1-agentzh-loongarch64
cp ./* ../
luajit2-2.1-agentzh-loongarch64.zip下载地址: codeload.github.com/loongson/lu…