embedded2015 / jit-construct

JIT compiler from scratch, derived from Nick Desaulniers' great work
Other
37 stars 63 forks source link

error make #5

Open texrg opened 7 years ago

texrg commented 7 years ago

$ make cc -Wall -Werror -std=gnu99 -I. -o interpreter interpreter.c cc -Wall -Werror -std=gnu99 -I. -o compiler-x86 compiler-x86.c cc -Wall -Werror -std=gnu99 -I. -o compiler-x64 compiler-x64.c cc -Wall -Werror -std=gnu99 -I. -o compiler-arm compiler-arm.c lua dynasm/dynasm.lua -o jit-x86.h jit-x86.dasc jit-x86.dasc:4: error: cannot load module: dynasm/dasm_x86.lua:31: module 'bit' not found: no field package.preload['bit'] no file 'dynasm/bit.lua' no file '/usr/share/lua/5.3/bit.lua' no file '/usr/share/lua/5.3/bit/init.lua' no file '/usr/lib64/lua/5.3/bit.lua' no file '/usr/lib64/lua/5.3/bit/init.lua' no file './bit.lua' no file './bit/init.lua' no file '/usr/lib64/lua/5.3/bit.so' no file '/usr/lib64/lua/5.3/loadall.so' no file './bit.so': |.arch x86 jit-x86.dasc:: error: missing .arch directive jit-x86.dasc:: info: fatal error in input file -- no output file generated. Makefile:46: polecenia dla obiektu 'jit-x86.h' nie powiodły się make: *** [jit-x86.h] Błąd 1

jserv commented 7 years ago

@texrg : It looks like the unexpected Lua installation for bit module. Can you check the dependency of LuaJIT?