关于下载编译构建Luajit-2.0.4请移步这里,本文主要介绍一下在构建过程中遇到的奇葩问题。
从Windows上传Luajit-2.0.4.zip到Linux服务器,在构建的时候可能会遇到如下的编译错误:
In file included from lj_ffrecord.c:859:0:
lj_recdef.h:224:1: error: ‘recff_rawlen’ undeclared here (not
在Linux环境下构建Luajit-2.0.4时,由于Windows与Linux行尾字符差异导致编译错误。根源在于src/hostildvm_lib.c,可以通过特定命令转换文件夹内所有文件的行尾符以解决此问题。
关于下载编译构建Luajit-2.0.4请移步这里,本文主要介绍一下在构建过程中遇到的奇葩问题。
从Windows上传Luajit-2.0.4.zip到Linux服务器,在构建的时候可能会遇到如下的编译错误:
In file included from lj_ffrecord.c:859:0:
lj_recdef.h:224:1: error: ‘recff_rawlen’ undeclared here (not
3419
404

被折叠的 条评论
为什么被折叠?